| EntityDescriptionInterface::getDescription |
function |
core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php |
Gets the entity description. |
| EntityDescriptionInterface::setDescription |
function |
core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php |
Sets the entity description. |
| EntityDisplayBase |
class |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Provides a common base class for entity view and form displays. |
| EntityDisplayBase.php |
file |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
|
| EntityDisplayBase::$bundle |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Bundle to be displayed. |
| EntityDisplayBase::$content |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
List of component display options, keyed by component name. |
| EntityDisplayBase::$displayContext |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Context in which this entity will be used (e.g. 'view', 'form'). |
| EntityDisplayBase::$fieldDefinitions |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
A list of field definitions eligible for configuration in this display. |
| EntityDisplayBase::$hidden |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
List of components that are set to be hidden. |
| EntityDisplayBase::$id |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Unique ID for the config entity. |
| EntityDisplayBase::$initialized |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
A boolean indicating whether or not this display has been initialized. |
| EntityDisplayBase::$mode |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
View or form mode to be displayed. |
| 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). |