ViewEditForm

Form controller for the Views edit form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\views_ui\ViewFormBaseclass \Drupal\views_ui\ViewEditForm File core/modules/views_ui/src/ViewEditForm.php, line 23 Namespace Drup

ViewDuplicateForm::submitForm

public ViewDuplicateForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler for the 'clone' action. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: A reference to a keyed array containing the current state of the form. Overrides EntityForm::submitForm File core/modules/views_ui/src/ViewDuplicateForm.php, line 68 Class ViewDuplicateForm Form controller for the Views dupli

ViewDuplicateForm::prepareEntity

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

ViewDuplicateForm::form

public ViewDuplicateForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/views_ui/src/ViewDuplicateForm.php, line 22 Class ViewDuplicateForm Form controller for the Views duplicate form. Namespace Drupal\views_ui Code public function form(array $form, FormStateInterface $form_state) { parent::form(

ViewDuplicateForm::actions

protected ViewDuplicateForm::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/views_ui/src/ViewDuplicateForm.php, line 52 Class ViewDuplicateForm Form controller for the Views duplicate form. Namespace Drupal\views_ui Code protected function actions(array $form, FormStateInterfac

ViewDuplicateForm

Form controller for the Views duplicate form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\views_ui\ViewFormBaseclass \Drupal\views_ui\ViewDuplicateForm File core/modules/views_ui/src/ViewDuplicateForm.php, line 10

ViewAjaxResponse::setView

public ViewAjaxResponse::setView(ViewExecutable $view) Sets the executed view of this response. Parameters \Drupal\views\ViewExecutable $view: The View executed on this ajax request. File core/modules/views/src/Ajax/ViewAjaxResponse.php, line 28 Class ViewAjaxResponse Custom JSON response object for an ajax view response. Namespace Drupal\views\Ajax Code public function setView(ViewExecutable $view) { $this->view = $view; }

ViewAjaxResponse::getView

public ViewAjaxResponse::getView() Gets the executed view of this response. Return value \Drupal\views\ViewExecutable $view The View executed on this ajax request. File core/modules/views/src/Ajax/ViewAjaxResponse.php, line 38 Class ViewAjaxResponse Custom JSON response object for an ajax view response. Namespace Drupal\views\Ajax Code public function getView() { return $this->view; }

ViewAjaxResponse::$view

The view executed on this ajax request. Type: \Drupal\views\ViewExecutable File core/modules/views/src/Ajax/ViewAjaxResponse.php, line 20 Class ViewAjaxResponse Custom JSON response object for an ajax view response. Namespace Drupal\views\Ajax Code protected $view;

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