public AdvancedSettingsForm::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 ConfigFormBase::submitForm
File
- core/modules/views_ui/src/Form/AdvancedSettingsForm.php, line 89
Class
- AdvancedSettingsForm
- Form builder for the advanced admin settings page.
Namespace
Drupal\views_ui\Form
Code
public function submitForm(array &$form, FormStateInterface $form_state) { $this->config('views.settings') ->set('skip_cache', $form_state->getValue('skip_cache')) ->set('sql_signature', $form_state->getValue('sql_signature')) ->set('display_extenders', $form_state->getValue('display_extenders', array())) ->save(); parent::submitForm($form, $form_state); }
Please login to continue.