Implements \Drupal\views_ui\Form\Ajax\ViewsFormInterface::getFormState().
Overrides ViewsFormInterface::getFormState
public function getFormState(ViewStorageInterface $view, $display_id, $js) {
// $js may already have been converted to a Boolean.
$ajax = is_string($js) ? $js === 'ajax' : $js;
return array(
'form_id' => $this
->getFormID(),
'form_key' => $this
->getFormKey(),
'ajax' => $ajax,
'display_id' => $display_id,
'view' => $view,
'type' => $this->type,
'id' => $this->id,
'no_redirect' => TRUE,
'build_info' => array(
'args' => array(),
'callback_object' => $this,
),
);
}