Drupal 8  8.0.2
ViewExecutableFactory Class Reference

Public Member Functions

 __construct (AccountInterface $user, RequestStack $request_stack, ViewsData $views_data, RouteProviderInterface $route_provider)
 get (ViewEntityInterface $view)

Protected Attributes


Detailed Description

Defines the cache backend factory.

Constructor & Destructor Documentation

__construct ( AccountInterface  $user,
RequestStack  $request_stack,
ViewsData  $views_data,
RouteProviderInterface  $route_provider 

Constructs a new ViewExecutableFactory

\Drupal\Core\Session\AccountInterface$userThe current user.
\Symfony\Component\HttpFoundation\RequestStack$request_stackThe request stack.
\Drupal\views\ViewsData$views_dataThe views data.
\Drupal\Core\Routing\RouteProviderInterface$route_providerThe route provider.

References Drupal\requestStack().

Here is the call graph for this function:

Member Function Documentation

get ( ViewEntityInterface  $view)

Instantiates a ViewExecutable class.

\Drupal\views\ViewEntityInterface$viewA view entity instance.
A ViewExecutable instance.

References Drupal\requestStack().

Referenced by ViewsBlockBase\__construct().

Here is the call graph for this function:

Here is the caller graph for this function:

The documentation for this class was generated from the following file: