function Views::getAllViews
Returns an array of all views as fully loaded $view objects.
Return value
\Drupal\views\Entity\View[] An array of loaded view entities.
1 call to Views::getAllViews()
- GroupwiseMax::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ relationship/ GroupwiseMax.php - Provide a form to edit options for this plugin.
File
-
core/
modules/ views/ src/ Views.php, line 248
Class
- Views
- Static service container wrapper for views.
Namespace
Drupal\viewsCode
public static function getAllViews() {
return \Drupal::entityTypeManager()->getStorage('view')
->loadMultiple();
}