public function ViewExecutableFactory::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 $request_stack: The request stack.
\Drupal\views\ViewsData $views_data: The views data.
\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider.
File
- core/
modules/ views/ src/ ViewExecutableFactory.php, line 59 - Contains \Drupal\views\ViewExecutableFactory.
Class
- ViewExecutableFactory
- Defines the cache backend factory.
Namespace
Drupal\viewsCode
public function __construct(AccountInterface $user, RequestStack $request_stack, ViewsData $views_data, RouteProviderInterface $route_provider) {
$this->user = $user;
$this->requestStack = $request_stack;
$this->viewsData = $views_data;
$this->routeProvider = $route_provider;
}