ViewAddForm::prepareEntity

protected ViewAddForm::prepareEntity() Prepares the entity object before the form is built first. Overrides ViewFormBase::prepareEntity File core/modules/views_ui/src/ViewAddForm.php, line 45 Class ViewAddForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected function prepareEntity() { // Do not prepare the entity while it is being added. }

ViewAddForm::submitForm

public ViewAddForm::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden unless the e

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

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

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