You are here

public static function Views::executableFactory in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Views.php \Drupal\views\Views::executableFactory()
  2. 10 core/modules/views/src/Views.php \Drupal\views\Views::executableFactory()

Returns the view executable factory service.

Return value

\Drupal\views\ViewExecutableFactory Returns a views executable factory.

File

core/modules/views/src/Views.php, line 77

Class

Views
Static service container wrapper for views.

Namespace

Drupal\views

Code

public static function executableFactory() {
  return \Drupal::service('views.executable');
}