function ViewExecutableFactory::__construct

Same name and namespace in other branches
  1. 11.x core/modules/views/src/ViewExecutableFactory.php \Drupal\views\ViewExecutableFactory::__construct()
  2. 10 core/modules/views/src/ViewExecutableFactory.php \Drupal\views\ViewExecutableFactory::__construct()
  3. 9 core/modules/views/src/ViewExecutableFactory.php \Drupal\views\ViewExecutableFactory::__construct()
  4. 8.9.x core/modules/views/src/ViewExecutableFactory.php \Drupal\views\ViewExecutableFactory::__construct()

Constructs a new ViewExecutableFactory.

Parameters

\Drupal\Core\Session\AccountInterface $user: The current user.

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.

\Drupal\views\ViewsData $viewsData: The views data.

\Drupal\Core\Routing\RouteProviderInterface $routeProvider: The route provider.

\Drupal\views\Plugin\ViewsPluginManager $displayPluginManager: The display plugin manager.

File

core/modules/views/src/ViewExecutableFactory.php, line 29

Class

ViewExecutableFactory
Defines the cache backend factory.

Namespace

Drupal\views

Code

public function __construct(protected AccountInterface $user, protected RequestStack $requestStack, protected ViewsData $viewsData, protected RouteProviderInterface $routeProvider, protected ViewsPluginManager $displayPluginManager) {
}

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