By claudiu.cristea on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.4.x
Introduced in version:
11.4.0
Issue links:
Description:
Important note!
This CR is a living document, we have added the issues to the table so you can see if the issue is merged or not yet.
The following form submit, validation Ajax callbacks and functions were converted to methods and the procedural functions were deprecated:
| Deprecated procedural callback | Converted to... | Progress |
|---|---|---|
automated_cron_settings_submit() |
\Drupal\automated_cron\Hook\AutomatedCronHooks::automatedCronSettingsSubmit() |
#3566768: Change \Drupal\system\Form\CronForm to use ConfigFormBase and use #config_target |
ckeditor5_filter_format_edit_form_submit() |
\Drupal\ckeditor5\Hook\Ckeditor5Hooks::filterFormatEditFormSubmit() |
#3566792: Deprecate remaining ckeditor5.module procedural code |
_update_ckeditor5_html_filter() |
\Drupal\ckeditor5\Hook\Ckeditor5Hooks::updateCkeditor5HtmlFilter() |
#3566792: Deprecate remaining ckeditor5.module procedural code |
contact_user_profile_form_submit() |
\Drupal\contact\Hook\ContactFormHooks::profileFormSubmit() |
#3566888: Move contact module form callbacks from procedural to hook class |
contact_form_user_admin_settings_submit() |
\Drupal\contact\Hook\ContactFormHooks::userAdminSettingsSubmit() |
#3566888: Move contact module form callbacks from procedural to hook class |
field_ui_form_manage_field_form_submit() |
\Drupal\field_ui\Hook\FieldUiHooks::manageFieldFormSubmit() |
#3567163: Move field_ui form callback to hook class |
editor_form_filter_admin_format_editor_configure() |
\Drupal\editor\Hook\EditorHooks::editorFormFilterAdminFormatEditorConfigure() |
#3568092: Convert editor.module procedural submit, validate and Ajax callbacks to methods |
editor_form_filter_admin_format_editor_configure() |
\Drupal\editor\Hook\EditorHooks::editorFormFilterAdminFormatEditorConfigure() |
#3568092: Convert editor.module procedural submit, validate and Ajax callbacks to methods |
editor_form_filter_admin_format_validate() |
\Drupal\editor\Hook\EditorHooks::editorFormFilterAdminFormatValidate() |
#3568092: Convert editor.module procedural submit, validate and Ajax callbacks to methods |
editor_form_filter_admin_format_submit() |
\Drupal\editor\Hook\EditorHooks::editorFormFilterAdminFormatSubmit() |
#3568092: Convert editor.module procedural submit, validate and Ajax callbacks to methods |
language_process_language_select() |
\Drupal\language\Hook\LanguageHooks::processLanguageSelect() |
#3574727: Deprecate remaining language.module code |
language_configuration_element_submit() |
\Drupal\language\Element\LanguageConfiguration::submit() |
#3574727: Deprecate remaining language.module code |
media_filter_format_edit_form_validate() |
\Drupal\media\Hook\MediaHooks::formatEditFormValidate() |
#3568124: Deprecate remaining functions in media.module |
_menu_ui_node_save() |
\Drupal\menu_ui\Hook\MenuUiHooks:: menuUiNodeSave() |
#3571400: Deprecate functions in menu_ui.module and move to hooks or helper class |
menu_ui_get_menu_link_defaults() |
\Drupal\menu_ui\Hook\MenuUiHooks:: getMenuLinkDefaults() |
#3571400: Deprecate functions in menu_ui.module and move to hooks or helper class |
menu_ui_node_builder() |
\Drupal\menu_ui\Hook\MenuUiHooks:: nodeBuilder() |
#3571400: Deprecate functions in menu_ui.module and move to hooks or helper class |
menu_ui_form_node_form_submit() |
\Drupal\menu_ui\Hook\MenuUiHooks:: formNodeFormSubmit() |
#3571400: Deprecate functions in menu_ui.module and move to hooks or helper class |
menu_ui_form_node_type_form_validate() |
\Drupal\menu_ui\Hook\MenuUiHooks:: formNodeTypeFormValidate() |
#3571400: Deprecate functions in menu_ui.module and move to hooks or helper class |
menu_ui_form_node_type_form_builder() |
\Drupal\menu_ui\Hook\MenuUiHooks:: formNodeTypeFormBuilder() |
#3571400: Deprecate functions in menu_ui.module and move to hooks or helper class |
|
\Drupal\views\ViewStatusTrait
|
#3572243: Deprecate several views functions |
views_invalidate_cache |
\Drupal\views\Views
|
#941970: Only set router rebuild needed when something related to routing actually changes |
views_ui_add_limited_validation() |
\Drupal\views\ViewsFormAjaxHelperTrait::addLimitedValidation() |
#3035340: Deprecate core/modules/views_ui/admin.inc |
views_ui_add_ajax_wrapper() |
\Drupal\views\ ViewsFormAjaxHelperTrait::addAjaxWrapper() |
#3035340: Deprecate core/modules/views_ui/admin.inc |
views_ui_ajax_update_form() |
\Drupal\views\ ViewsFormAjaxHelperTrait::ajaxUpdateForm() |
#3035340: Deprecate core/modules/views_ui/admin.inc |
views_ui_nojs_submit() |
\Drupal\views\ ViewsFormAjaxHelperTrait::noJsSubmit() |
#3035340: Deprecate core/modules/views_ui/admin.inc |
views_ui_form_button_was_clicked() |
\Drupal\views\ViewsFormHelperTrait::formButtonWasClicked() |
#3035340: Deprecate core/modules/views_ui/admin.inc |
The following functions have been removed or deprecated without replacement
| Deprecated procedural callback | Progress |
|---|---|
| _ckeditor5_theme_css | #3566792: Deprecate remaining ckeditor5.module procedural code |
|
#3572173: Deprecate field.module remaining functions |
| _filter_tips | #3580662: Deprecate _filter_tips() |
|
#3226806: Move filter implementations from filter.module to plugin classes |
|
#3574727: Deprecate remaining language.module code |
| _media_get_add_url | #3568124: Deprecate remaining functions in media.module |
|
#3570839: Deprecate remaining underscore functions in media_library.module |
| _menu_link_content_update_path_alias | #3570863: Deprecate _menu_link_content_update_path_alias |
| _options_values_in_use | #2171397: Deprecate remaining options.module functions |
|
#3570235: Deprecate functions in syslog.module |
|
#3571172: Deprecate system_sort_themes() and system_check_directory() in system module |
|
#3570238: Deprecate remaining functions in taxonomy |
|
#3035340: Deprecate core/modules/views_ui/admin.inc |
Impacts:
Module developers
Site templates, recipes and distribution developers