function EntityDisplayBase::getComponents

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getComponents()
  2. 10 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getComponents()
  3. 11.x core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getComponents()

Overrides EntityDisplayInterface::getComponents

8 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.
EntityDisplayBase::preSave in core/lib/Drupal/Core/Entity/EntityDisplayBase.php
Acts on an entity before the presave hook is invoked.
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
EntityFormDisplay::processForm in core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
Process callback: assigns weights and hides extra fields.

... See full list

File

core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 359

Class

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

Namespace

Drupal\Core\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.