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
FieldInstancePerViewModeTest::providerSource function core/modules/field/tests/src/Kernel/Plugin/migrate/source/d7/FieldInstancePerViewModeTest.php The data provider.
FieldLayoutTest::testEntityViewModes function core/modules/field_layout/tests/src/FunctionalJavascript/FieldLayoutTest.php Tests that layouts are unique per view mode.
field_ui_entity_form_mode_delete function core/modules/field_ui/field_ui.module Implements hook_entity_form_mode_delete().
field_ui_entity_form_mode_presave function core/modules/field_ui/field_ui.module Implements hook_entity_form_mode_presave().
field_ui_entity_view_mode_delete function core/modules/field_ui/field_ui.module Implements hook_entity_view_mode_delete().
field_ui_entity_view_mode_presave function core/modules/field_ui/field_ui.module Implements hook_entity_view_mode_presave().
FormatterBase::$viewMode property core/lib/Drupal/Core/Field/FormatterBase.php The view mode.
FormModeAccessCheck class core/modules/field_ui/src/Access/FormModeAccessCheck.php Defines an access check for entity form mode routes.
FormModeAccessCheck.php file core/modules/field_ui/src/Access/FormModeAccessCheck.php
FormModeAccessCheck::$deprecatedProperties property core/modules/field_ui/src/Access/FormModeAccessCheck.php
FormModeAccessCheck::$entityTypeManager property core/modules/field_ui/src/Access/FormModeAccessCheck.php The entity type manager.
FormModeAccessCheck::access function core/modules/field_ui/src/Access/FormModeAccessCheck.php Checks access to the form mode.
FormModeAccessCheck::__construct function core/modules/field_ui/src/Access/FormModeAccessCheck.php Creates a new FormModeAccessCheck.
hook_entity_view_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the view mode of an entity that is being displayed.
hook_entity_view_mode_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the view modes for entity types.
JsonApiRegressionTest::testThatRoutesAreRebuiltAfterDataModelChangesFromIssue2984886 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures that JSON:API routes are caches are dynamically rebuilt.
LatestRevisionCheck::$moderationInfo property core/modules/content_moderation/src/Access/LatestRevisionCheck.php The moderation information service.
LayoutBuilderContentModerationIntegrationTest class core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php Tests Content Moderation's integration with Layout Builder.
LayoutBuilderContentModerationIntegrationTest.php file core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php
LayoutBuilderContentModerationIntegrationTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php The theme to install as the default for testing.
LayoutBuilderContentModerationIntegrationTest::$modules property core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php Modules to enable.
LayoutBuilderContentModerationIntegrationTest::setUp function core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php
LayoutBuilderContentModerationIntegrationTest::testLayoutModeration function core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php Tests that Layout changes are respected by Content Moderation.
LayoutBuilderEntityViewDisplay::isCustomMode function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php Indicates if this display is using the '_custom' view mode.
LayoutBuilderEntityViewDisplayForm::isCanonicalMode function core/modules/layout_builder/src/Form/LayoutBuilderEntityViewDisplayForm.php Determines if the mode is used by the canonical route.
LayoutBuilderTest::testFullViewModeMultipleBundles function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Ensures that one bundle doesn't interfere with another bundle.
LayoutBuilderTest::testLayoutBuilderUiFullViewMode function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests the interaction between full and default view modes.
LayoutBuilderTest::testNonDefaultViewMode function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests that a non-default view mode works as expected.
LayoutBuilderThemeSuggestionsTest::testFieldBlockViewModeTemplates function core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php Tests that of view mode specific field templates are suggested.
LayoutDisplayTest::testMultipleViewModes function core/modules/layout_builder/tests/src/Functional/LayoutDisplayTest.php Tests the interaction between multiple view modes.
layout_builder_fieldblock_test.fake_view_mode_context service core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.services.yml Drupal\layout_builder_fieldblock_test\ContextProvider\FakeViewModeContext
layout_builder_post_update_overrides_view_mode_annotation function core/modules/layout_builder/layout_builder.post_update.php Clear caches due to changes to annotation changes to the Overrides plugin.
LocaleUpdateTest::testUpdateImportModeNonCustomized function core/modules/locale/tests/src/Functional/LocaleUpdateTest.php Tests translation import and only overwrite non-customized translations.
LocaleUpdateTest::testUpdateImportModeNone function core/modules/locale/tests/src/Functional/LocaleUpdateTest.php Tests translation import and don't overwrite any translation.
MaintenanceMode class core/lib/Drupal/Core/Site/MaintenanceMode.php Provides the default implementation of the maintenance mode service.
MaintenanceMode.php file core/lib/Drupal/Core/Site/MaintenanceMode.php
MaintenanceMode::$state property core/lib/Drupal/Core/Site/MaintenanceMode.php The state.
MaintenanceMode::applies function core/lib/Drupal/Core/Site/MaintenanceMode.php Returns whether the site is in maintenance mode.
MaintenanceMode::exempt function core/lib/Drupal/Core/Site/MaintenanceMode.php Determines whether a user has access to the site in maintenance mode.
MaintenanceMode::__construct function core/lib/Drupal/Core/Site/MaintenanceMode.php Constructs a new maintenance mode service.
MaintenanceModeInterface interface core/lib/Drupal/Core/Site/MaintenanceModeInterface.php Defines the interface for the maintenance mode service.
MaintenanceModeInterface.php file core/lib/Drupal/Core/Site/MaintenanceModeInterface.php
MaintenanceModeInterface::applies function core/lib/Drupal/Core/Site/MaintenanceModeInterface.php Returns whether the site is in maintenance mode.
MaintenanceModeInterface::exempt function core/lib/Drupal/Core/Site/MaintenanceModeInterface.php Determines whether a user has access to the site in maintenance mode.
MaintenanceModeSubscriber class core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php Maintenance mode subscriber for controller requests.
MaintenanceModeSubscriber class core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php Maintenance mode subscriber to log out users.
MaintenanceModeSubscriber.php file core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php
MaintenanceModeSubscriber.php file core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
MaintenanceModeSubscriber::$account property core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php The current account.
MaintenanceModeSubscriber::$account property core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php The current account.

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