public function ViewsFormInterface::getFormState

Gets the form state for this form.

Parameters

\Drupal\views\ViewStorageInterface $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

array An associative array containing the current state of the form.

1 method overrides ViewsFormInterface::getFormState()
ViewsFormBase::getFormState in drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/ViewsFormBase.php
Implements \Drupal\views_ui\Form\Ajax\ViewsFormInterface::getFormState().

File

drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/ViewsFormInterface.php, line 38
Contains \Drupal\views_ui\Form\Ajax\ViewsFormInterface.

Class

ViewsFormInterface

Namespace

Drupal\views_ui\Form\Ajax

Code

public function getFormState(ViewStorageInterface $view, $display_id, $js);