function 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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.