Search for mode

  1. Search 7.x for mode
  2. Search 8.9.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
EntityDisplayModeBase class core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Base class for config entity types with settings for form and view modes.
EntityDisplayModeBase.php file core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php
EntityDisplayModeBase::$cache property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Whether or not the rendered output of this view mode is cached by default.
EntityDisplayModeBase::$id property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The ID of the form or view mode.
EntityDisplayModeBase::$label property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The human-readable name of the form or view mode.
EntityDisplayModeBase::$status property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Whether or not this form or view mode has custom settings by default.
EntityDisplayModeBase::$targetEntityType property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The entity type this form or view mode is used for.
EntityDisplayModeBase::calculateDependencies function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Calculates dependencies and stores them in the dependency property.
EntityDisplayModeBase::getTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Gets the entity type this display mode is used for.
EntityDisplayModeBase::preDelete function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Acts on entities before they are deleted and before hooks are invoked.
EntityDisplayModeBase::preSave function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Acts on an entity before the presave hook is invoked.
EntityDisplayModeBase::setTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Set the entity type this display mode is used for.
EntityDisplayModeBase::sort function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Helper callback for uasort() to sort configuration entities by weight and label.
EntityDisplayModeBase::urlRouteParameters function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Gets an array of placeholders for this entity.
EntityDisplayModeBaseUnitTest class core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @coversDefaultClass \Drupal\Core\Entity\EntityDisplayModeBase
@group Config
EntityDisplayModeBaseUnitTest.php file core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php
EntityDisplayModeBaseUnitTest::$entity property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The entity under test.
EntityDisplayModeBaseUnitTest::$entityInfo property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The entity type used for testing.
EntityDisplayModeBaseUnitTest::$entityType property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The ID of the type of the entity under test.
EntityDisplayModeBaseUnitTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The entity type manager used for testing.
EntityDisplayModeBaseUnitTest::$uuid property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The UUID generator used for testing.
EntityDisplayModeBaseUnitTest::setUp function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php
EntityDisplayModeBaseUnitTest::testCalculateDependencies function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::calculateDependencies
EntityDisplayModeBaseUnitTest::testGetTargetType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::getTargetType
EntityDisplayModeBaseUnitTest::testSetTargetType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::setTargetType
EntityDisplayModeController class core/modules/field_ui/src/Controller/EntityDisplayModeController.php Provides methods for entity display mode routes.
EntityDisplayModeController.php file core/modules/field_ui/src/Controller/EntityDisplayModeController.php
EntityDisplayModeController::formModeTypeSelection function core/modules/field_ui/src/Controller/EntityDisplayModeController.php Provides a list of eligible entity types for adding form modes.
EntityDisplayModeController::viewModeTypeSelection function core/modules/field_ui/src/Controller/EntityDisplayModeController.php Provides a list of eligible entity types for adding view modes.
EntityDisplayModeDeleteForm class core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php Provides the delete form for entity display modes.
EntityDisplayModeDeleteForm.php file core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php
EntityDisplayModeDeleteForm::getDescription function core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php Returns additional text to display as a description.
EntityDisplayModeEditForm class core/modules/field_ui/src/Form/EntityDisplayModeEditForm.php Provides the edit form for entity display modes.
EntityDisplayModeEditForm.php file core/modules/field_ui/src/Form/EntityDisplayModeEditForm.php
EntityDisplayModeFormBase class core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Provides the generic base class for entity display mode forms.
EntityDisplayModeFormBase.php file core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php
EntityDisplayModeFormBase::$entityType property core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php The entity type definition.
EntityDisplayModeFormBase::exists function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Determines if the display mode already exists.
EntityDisplayModeFormBase::form function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Gets the actual form array to be built.
EntityDisplayModeFormBase::init function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Initialize the form state and the entity before the first form build.
EntityDisplayModeFormBase::save function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Form submission handler for the 'save' action.
EntityDisplayModeInterface interface core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php Provides an interface for entity types that hold form and view mode settings.
EntityDisplayModeInterface.php file core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php
EntityDisplayModeInterface::getTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php Gets the entity type this display mode is used for.
EntityDisplayModeInterface::setTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php Set the entity type this display mode is used for.
EntityDisplayModeListBuilder class core/modules/field_ui/src/EntityDisplayModeListBuilder.php Defines a class to build a listing of view mode entities.
EntityDisplayModeListBuilder.php file core/modules/field_ui/src/EntityDisplayModeListBuilder.php
EntityDisplayModeListBuilder::$entityTypes property core/modules/field_ui/src/EntityDisplayModeListBuilder.php All entity types.
EntityDisplayModeListBuilder::buildHeader function core/modules/field_ui/src/EntityDisplayModeListBuilder.php Builds the header row for the entity listing.
EntityDisplayModeListBuilder::buildRow function core/modules/field_ui/src/EntityDisplayModeListBuilder.php Builds a row for an entity in the entity listing.

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