function EntityDisplayInterface::getComponents

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

Gets the display options for all components.

Return value

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

1 method overrides EntityDisplayInterface::getComponents()
EntityDisplayBase::getComponents in core/lib/Drupal/Core/Entity/EntityDisplayBase.php
Gets the display options for all components.

File

core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 33

Class

EntityDisplayInterface
Provides a common interface for entity displays.

Namespace

Drupal\Core\Entity\Display

Code

public function getComponents();

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