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. Search 11.x for mode
  6. Other projects
Title Object type File name Summary
NodeType::setPreviewMode function core/modules/node/src/Entity/NodeType.php #[ActionMethod(adminLabel: new TranslatableMarkup('Set preview mode'), pluralize: FALSE)]
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.
OperationData::MODE constant composer/Plugin/Scaffold/Operations/OperationData.php
OperationData::mode function composer/Plugin/Scaffold/Operations/OperationData.php Gets operation mode.
PageContextTest::testBuildContentModerationNoPending function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests content moderation build output with no pending revisions.
PageContextTest::testBuildContentModerationWithPendingActive function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the content moderation build when is active with a pending entity.
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.
PdoResult::setFetchMode function core/lib/Drupal/Core/Database/Statement/PdoResult.php Sets the default fetch mode for this result set.
PdoTrait::$fetchModeLiterals property core/lib/Drupal/Core/Database/Statement/PdoTrait.php Map FETCH_* modes to their literal for inclusion in messages.
PdoTrait::clientSetFetchMode function core/lib/Drupal/Core/Database/Statement/PdoTrait.php Sets the default fetch mode for the PDO statement.
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
PrefetchedResult::setFetchMode function core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php Sets the default fetch mode for this result set.
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.
remove-description-from-user-register-form-mode.php file core/modules/system/tests/fixtures/update/remove-description-from-user-register-form-mode.php Empties the description of the user register form mode.
Result::setFetchMode function core/modules/mysqli/src/Driver/Database/mysqli/Result.php Sets the default fetch mode for this result set.
ResultBase::setFetchMode function core/lib/Drupal/Core/Database/Statement/ResultBase.php Sets the default fetch mode for this result set.
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.
rss-default-view-mode.php file core/modules/views/tests/fixtures/update/rss-default-view-mode.php Test fixture.
RssDefaultRowViewModeUpdateTest class core/modules/views/tests/src/Functional/Update/RssDefaultRowViewModeUpdateTest.php Tests the update view mode when removing system.rss.
RssDefaultRowViewModeUpdateTest.php file core/modules/views/tests/src/Functional/Update/RssDefaultRowViewModeUpdateTest.php
RssDefaultRowViewModeUpdateTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/RssDefaultRowViewModeUpdateTest.php Set database dump files to be used.
RssDefaultRowViewModeUpdateTest::testRssDefaultRowViewModeUpdate function core/modules/views/tests/src/Functional/Update/RssDefaultRowViewModeUpdateTest.php Tests the upgrade path setting rss row view mode.
RssPluginBase::TITLE_VIEW_MODE constant core/modules/views/src/Plugin/views/row/RssPluginBase.php A fake view mode to only display titles.
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.

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