public function ViewsURLAliasNodeAdminForm::submitForm in Views URL alias 8
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
- src/
Form/ ViewsURLAliasNodeAdminForm.php, line 53
Class
- ViewsURLAliasNodeAdminForm
- Class ViewsURLAliasNodeAdminForm.
Namespace
Drupal\views_url_alias_node\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
views_url_alias_node_rebuild();
$form_state
->setRedirectUrl(new Url('views_ui.settings_basic'));
}