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

1
2
3
public function getDependencies() {
  return $this->storage->calculateDependencies()->getDependencies();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.