function ViewAjaxController::__construct

Same name and namespace in other branches
  1. 11.x core/modules/views/src/Controller/ViewAjaxController.php \Drupal\views\Controller\ViewAjaxController::__construct()
  2. 10 core/modules/views/src/Controller/ViewAjaxController.php \Drupal\views\Controller\ViewAjaxController::__construct()
  3. 9 core/modules/views/src/Controller/ViewAjaxController.php \Drupal\views\Controller\ViewAjaxController::__construct()
  4. 8.9.x core/modules/views/src/Controller/ViewAjaxController.php \Drupal\views\Controller\ViewAjaxController::__construct()

File

core/modules/views/src/Controller/ViewAjaxController.php, line 48

Class

ViewAjaxController
Defines a controller to load a view via AJAX.

Namespace

Drupal\views\Controller

Code

public function __construct(protected EntityStorageInterface $storage, protected ViewExecutableFactory $executableFactory, protected RendererInterface $renderer, protected CurrentPathStack $currentPath, protected RedirectDestinationInterface $redirectDestination, protected PathValidatorInterface $pathValidator) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.