ViewExecutableFactory::__construct

public ViewExecutableFactory::__construct(AccountInterface $user, RequestStack $request_stack, ViewsData $views_data, RouteProviderInterface $route_provider)

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 54

Class

ViewExecutableFactory
Defines the cache backend factory.

Namespace

Drupal\views

Code

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;
}
doc_Drupal
2016-10-29 09:54:32
Comments
Leave a Comment

Please login to continue.