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
EntityTypeInfo::addModerationToEntityType function core/modules/content_moderation/src/EntityTypeInfo.php Modifies an entity definition to include moderation support.
EntityTypeInfo::getModeratedBundles function core/modules/content_moderation/src/EntityTypeInfo.php Returns an iterable list of entity names and bundle names under moderation.
EntityTypeInfo::isModeratedEntityEditForm function core/modules/content_moderation/src/EntityTypeInfo.php Checks whether the specified form allows to edit a moderated entity.
EntityTypeInfoTest::enableModeration function core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php Add moderation to an entity type and bundle.
EntityTypeInfoTest::testBaseFieldOnlyAddedToModeratedEntityTypes function core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php @covers ::entityBaseFieldInfo
EntityViewBuilder::isViewModeCacheable function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Determines whether the view mode is cacheable.
EntityViewBuilderTest::testHookEntityTypeViewModeAlter function core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php Tests a view mode alter on an entity.
EntityViewDisplayEditForm::getDisplayModeOptions function core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php Returns an array of form or view mode options.
EntityViewDisplayEditForm::getDisplayModes function core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php Returns the form or view modes used by this form.
EntityViewDisplayEditForm::getDisplayModesLink function core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php Returns a link to the form or view mode admin page.
EntityViewMode class core/modules/migrate/src/Plugin/migrate/destination/EntityViewMode.php Provides entity view mode destination plugin.
EntityViewMode class core/lib/Drupal/Core/Entity/Entity/EntityViewMode.php Defines the entity view mode configuration entity class.
EntityViewMode.php file core/lib/Drupal/Core/Entity/Entity/EntityViewMode.php
EntityViewMode.php file core/modules/migrate/src/Plugin/migrate/destination/EntityViewMode.php
EntityViewMode::getIds function core/modules/migrate/src/Plugin/migrate/destination/EntityViewMode.php Gets the destination IDs.
EntityViewMode::rollback function core/modules/migrate/src/Plugin/migrate/destination/EntityViewMode.php Delete the specified destination object from the target Drupal.
EntityViewModeInterface interface core/lib/Drupal/Core/Entity/EntityViewModeInterface.php Provides an interface defining an entity view mode entity type.
EntityViewModeInterface.php file core/lib/Drupal/Core/Entity/EntityViewModeInterface.php
EntityViewModeJsonAnonTest class core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonAnonTest.php @group rest
EntityViewModeJsonAnonTest.php file core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonAnonTest.php
EntityViewModeJsonAnonTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonAnonTest.php The theme to install as the default for testing.
EntityViewModeJsonAnonTest::$format property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonAnonTest.php The format to use in this test.
EntityViewModeJsonAnonTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonAnonTest.php The MIME type that corresponds to $format.
EntityViewModeJsonBasicAuthTest class core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php @group rest
EntityViewModeJsonBasicAuthTest.php file core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php
EntityViewModeJsonBasicAuthTest::$auth property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php The authentication mechanism to use in this test.
EntityViewModeJsonBasicAuthTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php The theme to install as the default for testing.
EntityViewModeJsonBasicAuthTest::$format property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php The format to use in this test.
EntityViewModeJsonBasicAuthTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php The MIME type that corresponds to $format.
EntityViewModeJsonBasicAuthTest::$modules property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php @todo Remove 'field_ui' when https://www.drupal.org/node/2867266.
EntityViewModeJsonCookieTest class core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php @group rest
EntityViewModeJsonCookieTest.php file core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php
EntityViewModeJsonCookieTest::$auth property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php The authentication mechanism to use in this test.
EntityViewModeJsonCookieTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php The theme to install as the default for testing.
EntityViewModeJsonCookieTest::$format property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php The format to use in this test.
EntityViewModeJsonCookieTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php The MIME type that corresponds to $format.
EntityViewModeResourceTestBase class core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php
EntityViewModeResourceTestBase.php file core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php
EntityViewModeResourceTestBase::$entity property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php
EntityViewModeResourceTestBase::$entityTypeId property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php The tested entity type.
EntityViewModeResourceTestBase::$modules property core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php @todo Remove 'field_ui' when https://www.drupal.org/node/2867266.
EntityViewModeResourceTestBase::createEntity function core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php Creates the entity to be tested.
EntityViewModeResourceTestBase::getExpectedNormalizedEntity function core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php Returns the expected normalization of the entity.
EntityViewModeResourceTestBase::getNormalizedPostEntity function core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php Returns the normalized POST entity.
EntityViewModeResourceTestBase::setUpAuthorization function core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php Sets up the necessary authorization.
EntityViewModeTest class core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php JSON:API integration test for the "EntityViewMode" config entity type.
EntityViewModeTest.php file core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php
EntityViewModeTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php The theme to install as the default for testing.
EntityViewModeTest::$entity property core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php
EntityViewModeTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php The tested entity type.

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