Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php \Drupal\Core\Entity\Display\EntityDisplayInterface::getComponents()
  2. 9 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();