public function ConfigurationForm::submitForm in Menu Entity Index 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/ ConfigurationForm.php, line 95
Class
- ConfigurationForm
- Provides a configuration form for administrative settings.
Namespace
Drupal\menu_entity_index\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->tracker
->setConfiguration($form_state
->getValues());
$this
->messenger()
->addStatus($this
->t('The configuration options have been saved.'));
}