You are here

public function EntityDisplayBase::getComponents in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getComponents()

Gets the display options for all components.

Return value

array The array of display options, keyed by component name.

Overrides EntityDisplayInterface::getComponents

6 calls to EntityDisplayBase::getComponents()
EntityDisplayBase::onDependencyRemoval in core/lib/Drupal/Core/Entity/EntityDisplayBase.php
Informs the entity that entities it depends on will be deleted.
EntityFormDisplay::buildForm in core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
Adds field widgets to an entity form.
EntityFormDisplay::getPluginCollections in core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
Gets the plugin collections used by this entity.
EntityFormDisplay::processForm in core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
Process callback: assigns weights and hides extra fields.
EntityViewDisplay::buildMultiple in core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php
Builds a renderable array for the components of a set of entities.

... See full list

File

core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 313
Contains \Drupal\Core\Entity\EntityDisplayBase.

Class

EntityDisplayBase
Provides a common base class for entity view and form displays.

Namespace

Drupal\Core\Entity

Code

public function getComponents() {
  return $this->content;
}