ViewEditForm::$dateFormatter

The date formatter service. Type: \Drupal\Core\Datetime\DateFormatterInterface File core/modules/views_ui/src/ViewEditForm.php, line 44 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected $dateFormatter;

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

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