ViewsFormBase::getFormState

public ViewsFormBase::getFormState(ViewEntityInterface $view, $display_id, $js) Gets the form state for this form. Parameters \Drupal\views\ViewEntityInterface $view: The view being edited. string|null $display_id: The display ID being edited, or NULL to load the first available display. string $js: If this is an AJAX form, it will be the string 'ajax'. Otherwise, it will be 'nojs'. This determines the response. Return value \Drupal\Core\Form\FormStateInterface The current state of the form.

ViewsFormBase::setType

protected ViewsFormBase::setType($type) Sets the type for this form. Parameters string $type: The type of the item this form is manipulating. File core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php, line 59 Class ViewsFormBase Provides a base class for Views UI AJAX forms. Namespace Drupal\views_ui\Form\Ajax Code protected function setType($type) { if ($type) { $this->type = $type; } }

ViewsFormBase::setID

protected ViewsFormBase::setID($id) Sets the ID for this form. Parameters string $id: The ID of the item this form is manipulating. File core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php, line 47 Class ViewsFormBase Provides a base class for Views UI AJAX forms. Namespace Drupal\views_ui\Form\Ajax Code protected function setID($id) { if ($id) { $this->id = $id; } }

ViewsFormBase::validateForm

public ViewsFormBase::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/Form/Ajax/ViewsFormBase.php, line 269 Class ViewsFormBase Provides a base class for Views UI AJAX forms. Namespace Drupal\views_ui\Form\Ajax Code publi

ViewsFormBase::submitForm

public ViewsFormBase::submitForm(array &$form, FormStateInterface $form_state) Form submission 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 FormInterface::submitForm File core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php, line 275 Class ViewsFormBase Provides a base class for Views UI AJAX forms. Namespace Drupal\views_ui\Form\Ajax Code publ

ViewsFormBase::ajaxFormWrapper

protected ViewsFormBase::ajaxFormWrapper($form_class, FormStateInterface &$form_state) Wrapper for handling AJAX forms. Wrapper around \Drupal\Core\Form\FormBuilderInterface::buildForm() to handle some AJAX stuff automatically. This makes some assumptions about the client. Parameters \Drupal\Core\Form\FormInterface|string $form_class: The value must be one of the following: The name of a class that implements \Drupal\Core\Form\FormInterface. An instance of a class that implements \Drupal\C

ViewsFormBase::getForm

public ViewsFormBase::getForm(ViewEntityInterface $view, $display_id, $js) Creates a new instance of this form. @todo When https://www.drupal.org/node/1843224 is in, this will return \Drupal\Core\Ajax\AjaxResponse instead of the array of AJAX commands. Parameters \Drupal\views\ViewEntityInterface $view: The view being edited. string|null $display_id: The display ID being edited, or NULL to load the first available display. string $js: If this is an AJAX form, it will be the string 'ajax'. Othe

ViewsFormBase::$type

The type of item this form is manipulating. Type: string File core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php, line 39 Class ViewsFormBase Provides a base class for Views UI AJAX forms. Namespace Drupal\views_ui\Form\Ajax Code protected $type;

ViewsFormBase::$id

The ID of the item this form is manipulating. Type: string File core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php, line 32 Class ViewsFormBase Provides a base class for Views UI AJAX forms. Namespace Drupal\views_ui\Form\Ajax Code protected $id;

ViewsFormBase

Provides a base class for Views UI AJAX forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\views_ui\Form\Ajax\ViewsFormBase implements ViewsFormInterface File core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php, line 25 Namespace Drupal\views_ui\Form\Ajax Members Name Modifi