ViewFormBase::buildForm

public ViewFormBase::buildForm(array $form, FormStateInterface $form_state, $display_id = NULL) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides EntityForm::buildForm File core/modules/views_ui/src/ViewFormBase.php, line 36 Class ViewFormBase Base form for Views forms. Namespace Drupal\views_ui Code publi

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/m

ViewExecutableFactory::$user

Stores the current user. Type: \Drupal\Core\Session\AccountInterface File core/modules/views/src/ViewExecutableFactory.php, line 19 Class ViewExecutableFactory Defines the cache backend factory. Namespace Drupal\views Code protected $user;

ViewExecutableFactory::get

public ViewExecutableFactory::get(ViewEntityInterface $view) Instantiates a ViewExecutable class. Parameters \Drupal\views\ViewEntityInterface $view: A view entity instance. Return value \Drupal\views\ViewExecutable A ViewExecutable instance. File core/modules/views/src/ViewExecutableFactory.php, line 70 Class ViewExecutableFactory Defines the cache backend factory. Namespace Drupal\views Code public function get(ViewEntityInterface $view) { $view = new ViewExecutable($view, $this-

ViewExecutableFactory::$routeProvider

The route provider. Type: \Drupal\Core\Routing\RouteProviderInterface File core/modules/views/src/ViewExecutableFactory.php, line 40 Class ViewExecutableFactory Defines the cache backend factory. Namespace Drupal\views Code protected $routeProvider;

ViewExecutableFactory::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/views/src/ViewExecutableFactory.php, line 26 Class ViewExecutableFactory Defines the cache backend factory. Namespace Drupal\views Code protected $requestStack;

ViewExecutableFactory::$viewsData

The views data. Type: \Drupal\views\ViewsData File core/modules/views/src/ViewExecutableFactory.php, line 33 Class ViewExecutableFactory Defines the cache backend factory. Namespace Drupal\views Code protected $viewsData;

ViewExecutableFactory

Defines the cache backend factory. Hierarchy class \Drupal\views\ViewExecutableFactory File core/modules/views/src/ViewExecutableFactory.php, line 12 Namespace Drupal\views Members Name Modifiers Type Description ViewExecutableFactory::$requestStack protected property The request stack. ViewExecutableFactory::$routeProvider protected property The route provider. ViewExecutableFactory::$user protected property Stores the current user. ViewExecutableFacto

ViewExecutable::_initHandler

protected ViewExecutable::_initHandler($key, $info) Attaches the views handler for the specific type. Parameters string $key: One of 'argument', 'field', 'sort', 'filter', 'relationship'. array $info: An array of views handler types use in the view with additional information about them. File core/modules/views/src/ViewExecutable.php, line 1028 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected function _initHandler($key, $info) { // Load the re

ViewExecutable::__construct

public ViewExecutable::__construct(ViewEntityInterface $storage, AccountInterface $user, ViewsData $views_data, RouteProviderInterface $route_provider) Constructs a new ViewExecutable object. Parameters \Drupal\views\ViewEntityInterface $storage: The view config entity the actual information is stored on. \Drupal\Core\Session\AccountInterface $user: The current user. \Drupal\views\ViewsData $views_data: The views data. \Drupal\Core\Routing\RouteProviderInterface $route_provider: The route prov