ViewExecutable::getDependencies

public 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 2465

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function getDependencies() {
  return $this->storage->calculateDependencies()->getDependencies();
}
doc_Drupal
2016-10-29 09:54:19
Comments
Leave a Comment

Please login to continue.