EntityDisplayBase::getComponents

public EntityDisplayBase::getComponents()

Gets the display options for all components.

Return value

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

Overrides EntityDisplayInterface::getComponents

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function getComponents() {
  return $this->content;
}
doc_Drupal
2016-10-29 09:05:16
Comments
Leave a Comment

Please login to continue.