EntityDisplayFormBase::alterSettingsSummary

abstract protected EntityDisplayFormBase::alterSettingsSummary(array &$summary, PluginSettingsInterface $plugin, FieldDefinitionInterface $field_definition) Alters the widget or formatter settings summary. Parameters array $summary: The widget or formatter settings summary. \Drupal\Core\Field\PluginSettingsInterface $plugin: The widget or formatter. \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. File core/modules/field_ui/src/Form/EntityDisplayFormBase

EntityDisplayFormBase::$fieldTypes

A list of field types. Type: array File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 42 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code protected $fieldTypes;

EntityDisplayFormBase::$entity

The entity being used by this form. Type: \Drupal\Core\Entity\Display\EntityDisplayInterface Overrides EntityForm::$entity File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 49 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code protected $entity;

EntityDisplayFormBase::$displayContext

The display context. Either 'view' or 'form'. Type: string File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 28 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code protected $displayContext;

EntityDisplayFormBase

Base class for EntityDisplay edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\field_ui\Form\EntityDisplayFormBase File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 21 Namespace Drupal\field

EntityDisplayBase::__wakeup

public EntityDisplayBase::__wakeup() Overrides DependencySerializationTrait::__wakeup File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 527 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code public function __wakeup() { // Determine what were the properties from toArray() that were saved in // __sleep(). $keys = $this->_serializedKeys; unset($this->_serializedKeys); $values = array_interse

EntityDisplayBase::__sleep

public EntityDisplayBase::__sleep() Overrides ConfigEntityBase::__sleep File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 510 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code public function __sleep() { // Only store the definition, not external objects or derived data. $keys = array_keys($this->toArray()); // In addition, we need to keep the entity type and the "is new" status. $keys[] = 'en

EntityDisplayBase::__construct

public EntityDisplayBase::__construct(array $values, $entity_type) Constructs an Entity object. Parameters array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified. string $entity_type: The type of the entity to create. Overrides ConfigEntityBase::__construct File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 120 Class EntityDisplayBase Provides a common base class for entity view and form displays. Na

EntityDisplayBase::toArray

public EntityDisplayBase::toArray() Gets an array of all property values. Return value mixed[] An array of property values, keyed by property name. Overrides ConfigEntityBase::toArray File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 282 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code public function toArray() { $properties = parent::toArray(); // Do not store options for fields whose display is n

EntityDisplayBase::setTargetBundle

public EntityDisplayBase::setTargetBundle($bundle) Sets the bundle to be displayed. Parameters string $bundle: The bundle to be displayed. Return value $this Overrides EntityDisplayInterface::setTargetBundle File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 226 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code public function setTargetBundle($bundle) { $this->set('bundle', $bundle); return $this