public function FilterFormatListBuilder::submitForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::submitForm()
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 DraggableListBuilder::submitForm
File
- core/
modules/ filter/ src/ FilterFormatListBuilder.php, line 154 - Contains \Drupal\filter\FilterFormatListBuilder.
Class
- FilterFormatListBuilder
- Defines a class to build a listing of filter format entities.
Namespace
Drupal\filterCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
filter_formats_reset();
drupal_set_message($this
->t('The text format ordering has been saved.'));
}