function ckeditor5_filter_format_edit_form_submit
Same name and namespace in other branches
- 10 core/modules/ckeditor5/ckeditor5.module \ckeditor5_filter_format_edit_form_submit()
- 9 core/modules/ckeditor5/ckeditor5.module \ckeditor5_filter_format_edit_form_submit()
- main core/modules/ckeditor5/ckeditor5.module \ckeditor5_filter_format_edit_form_submit()
Form submission handler for filter format forms.
Deprecated
in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\ckeditor5\Hook\Ckeditor5Hooks::filterFormatEditFormSubmit() instead.
See also
https://www.drupal.org/node/3566774
File
-
core/
modules/ ckeditor5/ ckeditor5.module, line 24
Code
function ckeditor5_filter_format_edit_form_submit(array $form, FormStateInterface $form_state) : void {
@trigger_error(__FUNCTION__ . '() is deprecated in drupal:11.4.0 and is removed from drupal:12.0.0. Use \\Drupal\\ckeditor5\\Hook\\Ckeditor5Hooks::filterFormatEditFormSubmit() instead. See https://www.drupal.org/node/3566774', E_USER_DEPRECATED);
\Drupal::service(Ckeditor5Hooks::class)->filterFormatEditFormSubmit($form, $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.