| EntityDisplayInterface.php |
file |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
|
| EntityDisplayInterface::createCopy |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Creates a duplicate of the entity display object on a different view mode. |
| EntityDisplayInterface::getComponent |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Gets the display options set for a component. |
| EntityDisplayInterface::getComponents |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Gets the display options for all components. |
| EntityDisplayInterface::getHighestWeight |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Gets the highest weight of the components in the display. |
| EntityDisplayInterface::getMode |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Gets the view or form mode to be displayed. |
| EntityDisplayInterface::getOriginalMode |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Gets the original view or form mode that was requested. |
| EntityDisplayInterface::getRenderer |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Gets the renderer plugin for a field (e.g. widget, formatter). |
| EntityDisplayInterface::getTargetBundle |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Gets the bundle to be displayed. |
| EntityDisplayInterface::getTargetEntityTypeId |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Gets the entity type for which this display is used. |
| EntityDisplayInterface::removeComponent |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Sets a component to be hidden. |
| EntityDisplayInterface::setComponent |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Sets the display options for a component. |
| EntityDisplayInterface::setTargetBundle |
function |
core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php |
Sets the bundle to be displayed. |
| EntityDisplayModeAddForm |
class |
core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php |
Provides the add form for entity display modes. |
| EntityDisplayModeAddForm.php |
file |
core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php |
|
| EntityDisplayModeAddForm::buildForm |
function |
core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php |
Form constructor. |
| EntityDisplayModeAddForm::prepareEntity |
function |
core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php |
Prepares the entity object before the form is built first. |
| EntityDisplayModeAddForm::validateForm |
function |
core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php |
Form validation handler. |
| 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::$description |
property |
core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php |
Description of the form or view mode. |
| 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::getDescription |
function |
core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php |
Gets the display mode description. |
| 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 |
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. |
| EntityDisplayModeBaseTestableClass |
class |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php |
A class extending EntityDisplayModeBase for testing purposes. |
| EntityDisplayModeBaseUnitTest |
class |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php |
Tests Drupal\Core\Entity\EntityDisplayModeBase. |
| 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 |
Tests calculate dependencies. |
| EntityDisplayModeBaseUnitTest::testGetTargetType |
function |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php |
Tests get target type. |
| EntityDisplayModeBaseUnitTest::testSetTargetType |
function |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php |
Tests set target type. |
| 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. |