You are here

public function ViewUI::referencedEntities in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::referencedEntities()
  2. 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::referencedEntities()

Gets a list of entities referenced by this entity.

Return value

\Drupal\Core\Entity\EntityInterface[] An array of entities.

Overrides EntityInterface::referencedEntities

File

core/modules/views_ui/src/ViewUI.php, line 1171

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function referencedEntities() {
  return $this->storage
    ->referencedEntities();
}