| EntityDisplayBase::$originalMode |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
The original view or form mode that was requested. |
| EntityDisplayBase::$pluginManager |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
The plugin manager used by this entity type. |
| EntityDisplayBase::$plugins |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
The plugin objects used for this display, keyed by field name. |
| EntityDisplayBase::$renderer |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
The renderer. |
| EntityDisplayBase::$status |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Whether this display is enabled or not. |
| EntityDisplayBase::$targetEntityType |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Entity type to be displayed. |
| EntityDisplayBase::calculateDependencies |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Calculates dependencies and stores them in the dependency property. |
| EntityDisplayBase::createCopy |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Creates a duplicate of the entity display object on a different view mode. |
| EntityDisplayBase::CUSTOM_MODE |
constant |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
The mode used to render entities with arbitrary display options. |
| EntityDisplayBase::fieldHasDisplayOptions |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Determines if a field has options for a given display. |
| EntityDisplayBase::getComponent |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the display options set for a component. |
| EntityDisplayBase::getComponents |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the display options for all components. |
| EntityDisplayBase::getDefaultRegion |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the default region. |
| EntityDisplayBase::getFieldDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the field definition of a field. |
| EntityDisplayBase::getFieldDefinitions |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the definitions of the fields that are candidate for display. |
| EntityDisplayBase::getHighestWeight |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the highest weight of the components in the display. |
| EntityDisplayBase::getLogger |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Provides the 'system' channel logger service. |
| EntityDisplayBase::getMode |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the view or form mode to be displayed. |
| EntityDisplayBase::getOriginalMode |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the original view or form mode that was requested. |
| EntityDisplayBase::getPluginRemovedDependencies |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Returns the plugin dependencies being removed. |
| EntityDisplayBase::getTargetBundle |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the bundle to be displayed. |
| EntityDisplayBase::getTargetEntityTypeId |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the entity type for which this display is used. |
| EntityDisplayBase::id |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets the identifier. |
| EntityDisplayBase::init |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Initializes the display. |
| EntityDisplayBase::onDependencyRemoval |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Informs the entity that entities it depends on will be deleted. |
| EntityDisplayBase::preSave |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Acts on an entity before the presave hook is invoked. |
| EntityDisplayBase::removeComponent |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
#[ActionMethod(adminLabel: new TranslatableMarkup('Hide component'), name: 'hideComponent')] |
| EntityDisplayBase::set |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
#[ActionMethod(adminLabel: new TranslatableMarkup('Set a value'), pluralize: 'setMultiple')] |
| EntityDisplayBase::setComponent |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
#[ActionMethod(adminLabel: new TranslatableMarkup('Add component to display'))] |
| EntityDisplayBase::setTargetBundle |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Sets the bundle to be displayed. |
| EntityDisplayBase::toArray |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Gets an array of all property values. |
| EntityDisplayBase::__construct |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Constructs an Entity object. |
| EntityDisplayBase::__sleep |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
|
| EntityDisplayBase::__wakeup |
function |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
|
| EntityDisplayBaseMockableClass |
class |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
A class extending EntityDisplayBase for testing purposes. |
| EntityDisplayBaseMockableClass::getEntityType |
function |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
Gets the entity type definition. |
| EntityDisplayBaseMockableClass::getPluginCollections |
function |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
Gets the plugin collections used by this object. |
| EntityDisplayBaseMockableClass::getRenderer |
function |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
Gets the renderer plugin for a field (e.g. widget, formatter). |
| EntityDisplayBaseTest |
class |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
Tests Drupal\Core\Entity\EntityDisplayBase. |
| EntityDisplayBaseTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php |
Tests Drupal\Core\Entity\EntityDisplayBase. |
| EntityDisplayBaseTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php |
|
| EntityDisplayBaseTest.php |
file |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
|
| EntityDisplayBaseTest::$entityDisplay |
property |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
The mocked EntityDisplay object for testing. |
| EntityDisplayBaseTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php |
Modules to install. |
| EntityDisplayBaseTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php |
|
| EntityDisplayBaseTest::setUp |
function |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
|
| EntityDisplayBaseTest::testChangeId |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php |
Tests that changing the entity ID updates related properties. |
| EntityDisplayBaseTest::testGetMode |
function |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
Tests get mode. |
| EntityDisplayBaseTest::testGetOriginalMode |
function |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
Tests get original mode. |
| EntityDisplayBaseTest::testGetTargetBundle |
function |
core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php |
Tests get target bundle. |