You are here

public function EntityDisplayInterface::getComponents in Drupal 9

Same name and namespace in other branches
  1. 8 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();