You are here

public function ViewExecutableFactoryWrapper::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Views/ViewExecutableFactoryWrapper.php \Drupal\webprofiler\Views\ViewExecutableFactoryWrapper::__construct()
  2. 8.2 webprofiler/src/Views/ViewExecutableFactoryWrapper.php \Drupal\webprofiler\Views\ViewExecutableFactoryWrapper::__construct()
  3. 4.x webprofiler/src/Views/ViewExecutableFactoryWrapper.php \Drupal\webprofiler\Views\ViewExecutableFactoryWrapper::__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.

Overrides ViewExecutableFactory::__construct

File

webprofiler/src/Views/ViewExecutableFactoryWrapper.php, line 24

Class

ViewExecutableFactoryWrapper
Class ViewExecutableFactoryWrapper

Namespace

Drupal\webprofiler\Views

Code

public function __construct(AccountInterface $user, RequestStack $request_stack, ViewsData $views_data, RouteProviderInterface $route_provider) {
  parent::__construct($user, $request_stack, $views_data, $route_provider);
  $this->views = [];
}