Search for mode

  1. Search 7.x for mode
  2. Search 9.5.x for mode
  3. Search 10.3.x for mode
  4. Search 11.x for mode
  5. Other projects
Title Object type File name Summary
NodeAccessTest::$moderationInformation property core/modules/content_moderation/tests/src/Kernel/NodeAccessTest.php The moderation information service.
NodeEntityViewModeAlterTest class core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php Tests changing view modes for nodes.
NodeEntityViewModeAlterTest.php file core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
NodeEntityViewModeAlterTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php The theme to install as the default for testing.
NodeEntityViewModeAlterTest::$modules property core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php Enable dummy module that implements hook_ENTITY_TYPE_view() for nodes.
NodeEntityViewModeAlterTest::testNodeViewModeChange function core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php Create a "Basic page" node and verify its consistency in the database.
NodeModerationHandler class core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Customizations for node entities.
NodeModerationHandler.php file core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php
NodeModerationHandler::$moderationInfo property core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php The moderation information service.
NodeModerationHandler::createInstance function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Instantiates a new instance of this entity handler.
NodeModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Alters bundle forms to enforce revision handling.
NodeModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Alters entity forms to enforce revision handling.
NodeModerationHandler::__construct function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php NodeModerationHandler constructor.
NodeType::$preview_mode property core/modules/node/src/Entity/NodeType.php The preview mode.
NodeType::getPreviewMode function core/modules/node/src/Entity/NodeType.php Gets the preview mode.
NodeType::setPreviewMode function core/modules/node/src/Entity/NodeType.php Sets the preview mode.
NodeTypeInterface::getPreviewMode function core/modules/node/src/NodeTypeInterface.php Gets the preview mode.
NodeTypeInterface::setPreviewMode function core/modules/node/src/NodeTypeInterface.php Sets the preview mode.
node_test_entity_view_mode_alter function core/modules/node/tests/modules/node_test/node_test.module Implements hook_entity_view_mode_alter().
OperationData::MODE constant composer/Plugin/Scaffold/Operations/OperationData.php
OperationData::mode function composer/Plugin/Scaffold/Operations/OperationData.php Gets operation mode
PathContentModerationTest class core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests path aliases with Content Moderation.
PathContentModerationTest.php file core/modules/path/tests/src/Functional/PathContentModerationTest.php
PathContentModerationTest::$defaultTheme property core/modules/path/tests/src/Functional/PathContentModerationTest.php The theme to install as the default for testing.
PathContentModerationTest::$modules property core/modules/path/tests/src/Functional/PathContentModerationTest.php Modules to install.
PathContentModerationTest::assertPathsAreAccessible function core/modules/path/tests/src/Functional/PathContentModerationTest.php Helper callback to verify paths are responding with status 200.
PathContentModerationTest::setUp function core/modules/path/tests/src/Functional/PathContentModerationTest.php
PathContentModerationTest::testNodePathAlias function core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests node path aliases on a moderated content type.
PathContentModerationTest::testTranslatedModeratedNodeAlias function core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests that translated and moderated node can get new draft revision.
PerComponentEntityDisplay::MODE_NAME constant core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityDisplay.php
PerComponentEntityFormDisplay::MODE_NAME constant core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityFormDisplay.php
QuickEditIntegration::deconstructViewModeId function core/modules/layout_builder/src/QuickEditIntegration.php Deconstructs the Quick Edit view mode ID into its constituent parts.
QuickEditIntegration::getViewModeId function core/modules/layout_builder/src/QuickEditIntegration.php Generates a Quick Edit view mode ID.
ReadOnlyModeMethodFilter class core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php Filters routes based on the HTTP method and JSON:API's read-only mode.
ReadOnlyModeMethodFilter.php file core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php
ReadOnlyModeMethodFilter::$inner property core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php The decorated method filter.
ReadOnlyModeMethodFilter::$readOnlyModeIsEnabled property core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php Whether JSON:API's read-only mode is enabled.
ReadOnlyModeMethodFilter::filter function core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php
ReadOnlyModeMethodFilter::__construct function core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php ReadOnlyModeMethodFilter constructor.
ReadOnlyModeUpdateTest class core/modules/jsonapi/tests/src/Functional/Update/ReadOnlyModeUpdateTest.php Tests that existing sites have the new read-only mode to "off".
ReadOnlyModeUpdateTest.php file core/modules/jsonapi/tests/src/Functional/Update/ReadOnlyModeUpdateTest.php
ReadOnlyModeUpdateTest::$modules property core/modules/jsonapi/tests/src/Functional/Update/ReadOnlyModeUpdateTest.php Modules to enable after the database is loaded.
ReadOnlyModeUpdateTest::setDatabaseDumpFiles function core/modules/jsonapi/tests/src/Functional/Update/ReadOnlyModeUpdateTest.php Set database dump files to be used.
ReadOnlyModeUpdateTest::testBcReadOnlyModeSettingAdded function core/modules/jsonapi/tests/src/Functional/Update/ReadOnlyModeUpdateTest.php Tests jsonapi_update_8701().
RollbackViewModesTest class core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php Migrates and rolls back Drupal 7 view modes.
RollbackViewModesTest.php file core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php
RollbackViewModesTest::$modules property core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php Modules to enable.
RollbackViewModesTest::executeRollback function core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php Executes a single rollback.
RollbackViewModesTest::testMigration function core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php Tests migrating D7 view modes, then rolling back.
SettingsTrayBlockFormTest::testEditModeEnableDisable function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php Tests enabling and disabling Edit Mode.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.