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

ViewAjaxResponse

Custom JSON response object for an ajax view response. We use a special response object to be able to fire a proper alter hook. Hierarchy class \Symfony\Component\HttpFoundation\JsonResponse extends \Symfony\Component\HttpFoundation\Response class \Drupal\Core\Ajax\AjaxResponse implements AttachmentsInterface uses AttachmentsTraitclass \Drupal\views\Ajax\ViewAjaxResponse File core/modules/views/src/Ajax/ViewAjaxResponse.php, line 13 Namespace Drupal\views\Ajax Members Name Modifie

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::$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::$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::$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::$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

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::validateForm

public ViewAddForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/views_ui/src/ViewAddForm.php, line 160 Class ViewAddForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function validateForm(array &a

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; }