ViewAjaxController::__construct

public ViewAjaxController::__construct(EntityStorageInterface $storage, ViewExecutableFactory $executable_factory, RendererInterface $renderer, CurrentPathStack $current_path, RedirectDestinationInterface $redirect_destination) Constructs a ViewAjaxController object. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage for views. \Drupal\views\ViewExecutableFactory $executable_factory: The factory to load a view executable with. \Drupal\Core\Render\RendererInterfa

ViewAjaxController::create

public static ViewAjaxController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The servi

ViewAjaxController::ajaxView

public ViewAjaxController::ajaxView(Request $request) Loads and renders a view via AJAX. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request object. Return value \Drupal\views\Ajax\ViewAjaxResponse The view response as ajax response. Throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException Thrown when the view was not found. File core/modules/views/src/Controller/ViewAjaxController.php, line 112 Class ViewAjaxController Defines a controller to

ViewAjaxController::$storage

The entity storage for views. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/views/src/Controller/ViewAjaxController.php, line 35 Class ViewAjaxController Defines a controller to load a view via AJAX. Namespace Drupal\views\Controller Code protected $storage;

ViewAjaxController::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/views/src/Controller/ViewAjaxController.php, line 49 Class ViewAjaxController Defines a controller to load a view via AJAX. Namespace Drupal\views\Controller Code protected $renderer;

ViewAjaxController::$redirectDestination

The redirect destination. Type: \Drupal\Core\Routing\RedirectDestinationInterface File core/modules/views/src/Controller/ViewAjaxController.php, line 63 Class ViewAjaxController Defines a controller to load a view via AJAX. Namespace Drupal\views\Controller Code protected $redirectDestination;

ViewAjaxController::$executableFactory

The factory to load a view executable with. Type: \Drupal\views\ViewExecutableFactory File core/modules/views/src/Controller/ViewAjaxController.php, line 42 Class ViewAjaxController Defines a controller to load a view via AJAX. Namespace Drupal\views\Controller Code protected $executableFactory;

ViewAjaxController::$currentPath

The current path. Type: \Drupal\Core\Path\CurrentPathStack File core/modules/views/src/Controller/ViewAjaxController.php, line 56 Class ViewAjaxController Defines a controller to load a view via AJAX. Namespace Drupal\views\Controller Code protected $currentPath;

ViewAjaxController

Defines a controller to load a view via AJAX. Hierarchy class \Drupal\views\Controller\ViewAjaxController implements ContainerInjectionInterface File core/modules/views/src/Controller/ViewAjaxController.php, line 28 Namespace Drupal\views\Controller Members Name Modifiers Type Description ViewAjaxController::$currentPath protected property The current path. ViewAjaxController::$executableFactory protected property The factory to load a view executable with. Vie

ViewAddForm::__construct

public ViewAddForm::__construct(ViewsPluginManager $wizard_manager) Constructs a new ViewEditForm object. Parameters \Drupal\views\Plugin\ViewsPluginManager $wizard_manager: The wizard plugin manager. File core/modules/views_ui/src/ViewAddForm.php, line 29 Class ViewAddForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function __construct(ViewsPluginManager $wizard_manager) { $this->wizardManager = $wizard_manager; }