Search for mode

  1. Search 7.x for mode
  2. Search 9.5.x for mode
  3. Search 8.9.x for mode
  4. Search 10.3.x for mode
  5. Other projects
Title Object type File name Summary
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.
NodeTypeValidationTest::testPreviewModeValidation function core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php Tests that a node type's preview mode is constrained to certain values.
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
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 Filters the route collection against a request.
ReadOnlyModeMethodFilter::__construct function core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php ReadOnlyModeMethodFilter constructor.
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 install.
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.
SettingsTrayTestBase::assertEditModeDisabled function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php Assert that edit mode has been properly disabled.
SettingsTrayTestBase::assertEditModeEnabled function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php Assert that edit mode has been properly enabled.
SettingsTrayTestBase::disableEditMode function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php Disables edit mode by pressing edit button in the toolbar.
SettingsTrayTestBase::enableEditMode function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php Enables edit mode by pressing edit button in the toolbar.
SiteMaintenanceModeForm class core/modules/system/src/Form/SiteMaintenanceModeForm.php Configure maintenance settings for this site.
SiteMaintenanceModeForm.php file core/modules/system/src/Form/SiteMaintenanceModeForm.php
SiteMaintenanceModeForm::$permissionHandler property core/modules/system/src/Form/SiteMaintenanceModeForm.php The permission handler.
SiteMaintenanceModeForm::$state property core/modules/system/src/Form/SiteMaintenanceModeForm.php The state keyvalue collection.
SiteMaintenanceModeForm::buildForm function core/modules/system/src/Form/SiteMaintenanceModeForm.php Form constructor.
SiteMaintenanceModeForm::create function core/modules/system/src/Form/SiteMaintenanceModeForm.php Instantiates a new instance of this class.
SiteMaintenanceModeForm::getEditableConfigNames function core/modules/system/src/Form/SiteMaintenanceModeForm.php Gets the configuration names that will be editable.
SiteMaintenanceModeForm::getFormId function core/modules/system/src/Form/SiteMaintenanceModeForm.php Returns a unique string identifying the form.
SiteMaintenanceModeForm::submitForm function core/modules/system/src/Form/SiteMaintenanceModeForm.php Form submission handler.
SiteMaintenanceModeForm::__construct function core/modules/system/src/Form/SiteMaintenanceModeForm.php Constructs a new SiteMaintenanceModeForm.
SqlModeTest class core/modules/mysql/tests/src/Kernel/mysql/SqlModeTest.php Tests compatibility of the MySQL driver with various sql_mode options.
SqlModeTest.php file core/modules/mysql/tests/src/Kernel/mysql/SqlModeTest.php
SqlModeTest::getDatabaseConnectionInfo function core/modules/mysql/tests/src/Kernel/mysql/SqlModeTest.php Returns the Database connection info to be used for this test.
SqlModeTest::testQuotingIdentifiers function core/modules/mysql/tests/src/Kernel/mysql/SqlModeTest.php Tests quoting identifiers in queries.
StandardTest::providerTestDisallowMode function core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php Data provider for testDisallowMode().
StandardTest::testDisallowMode function core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php Tests removing disallowed tags and XSS prevention.
StatementInterface::setFetchMode function core/lib/Drupal/Core/Database/StatementInterface.php Sets the default fetch mode for this statement.
StatementPrefetchIterator::setFetchMode function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Sets the default fetch mode for this statement.

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