public function Display::getFormState

Overrides \Drupal\views_ui\Form\Ajax\ViewsFormBase::getFormState().

@todo Remove this and switch all usage of $form_state['section'] to $form_state['type'].

Overrides ViewsFormBase::getFormState

File

drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/Display.php, line 37
Contains \Drupal\views_ui\Form\Ajax\Display.

Class

Display
Provides a form for editing the Views display.

Namespace

Drupal\views_ui\Form\Ajax

Code

public function getFormState(ViewStorageInterface $view, $display_id, $js) {
  return array(
    'section' => $this->type,
  ) + parent::getFormState($view, $display_id, $js);
}