You are here

public function ViewExecutable::getDependencies in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getDependencies()

Gets dependencies for the view.

Return value

array An array of dependencies grouped by type (module, theme, entity).

See also

\Drupal\views\Entity\View::calculateDependencies()

\Drupal\views\Entity\View::getDependencies()

File

core/modules/views/src/ViewExecutable.php, line 2332
Contains \Drupal\views\ViewExecutable.

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

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