93 functions implement hook_post_update_NAME()

Note: the procedural functions in this list are found by pattern matching, so the list may include some functions that are not actually implementations of this hook.

action_post_update_move_plugins in core/modules/action/action.post_update.php
Moves action plugins to core.
action_post_update_remove_settings in core/modules/action/action.post_update.php
Removes action settings.
block_content_post_update_entity_changed_constraint in core/modules/block_content/block_content.post_update.php
Clear the entity type cache.
block_content_removed_post_updates in core/modules/block_content/block_content.post_update.php
Implements hook_removed_post_updates().
block_post_update_replace_node_type_condition in core/modules/block/block.post_update.php
Updates the node type visibility condition.
block_removed_post_updates in core/modules/block/block.post_update.php
Implements hook_removed_post_updates().
ckeditor5_post_update_alignment_buttons in core/modules/ckeditor5/ckeditor5.post_update.php
Updates text formats that has alignment shown as individual buttons.
ckeditor5_post_update_image_toolbar_item in core/modules/ckeditor5/ckeditor5.post_update.php
The image toolbar item changed from `uploadImage` to `drupalInsertImage`.
ckeditor_post_update_omit_settings_for_disabled_plugins in core/modules/ckeditor/ckeditor.post_update.php
Updates Text Editors using CKEditor 4 to omit settings for disabled plugins.
comment_removed_post_updates in core/modules/comment/comment.post_update.php
Implements hook_removed_post_updates().
contact_removed_post_updates in core/modules/contact/contact.post_update.php
Implements hook_removed_post_updates().
content_moderation_removed_post_updates in core/modules/content_moderation/content_moderation.post_update.php
Implements hook_removed_post_updates().
contextual_removed_post_updates in core/modules/contextual/contextual.post_update.php
Implements hook_removed_post_updates().
datetime_range_removed_post_updates in core/modules/datetime_range/datetime_range.post_update.php
Implements hook_removed_post_updates().
dblog_removed_post_updates in core/modules/dblog/dblog.post_update.php
Implements hook_removed_post_updates().
editor_removed_post_updates in core/modules/editor/editor.post_update.php
Implements hook_removed_post_updates().
field_removed_post_updates in core/modules/field/field.post_update.php
Implements hook_removed_post_updates().
file_post_update_add_txt_if_allows_insecure_extensions in core/modules/file/file.post_update.php
Add txt to allowed extensions for all fields that allow uploads of insecure files.
hal_post_update_delete_settings in core/modules/hal/hal.post_update.php
Remove obsolete hal.settings configuration key.
image_post_update_image_loading_attribute in core/modules/image/image.post_update.php
Add the image loading attribute setting to image field formatter instances.
image_removed_post_updates in core/modules/image/image.post_update.php
Implements hook_removed_post_updates().
language_removed_post_updates in core/modules/language/language.post_update.php
Implements hook_removed_post_updates().
layout_builder_post_update_override_entity_form_controller in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to addition of service decorator for entity form controller.
layout_builder_post_update_section_storage_context_mapping in core/modules/layout_builder/layout_builder.post_update.php
Update view displays that use Layout Builder to add empty context mappings.
layout_builder_post_update_tempstore_route_enhancer in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to adding a new route enhancer.
layout_builder_removed_post_updates in core/modules/layout_builder/layout_builder.post_update.php
Implements hook_removed_post_updates().
layout_discovery_removed_post_updates in core/modules/layout_discovery/layout_discovery.post_update.php
Implements hook_removed_post_updates().
locale_removed_post_updates in core/modules/locale/locale.post_update.php
Implements hook_removed_post_updates().
media_library_removed_post_updates in core/modules/media_library/media_library.post_update.php
Implements hook_removed_post_updates().
media_post_update_modify_base_field_author_override in core/modules/media/media.post_update.php
Updates stale references to Drupal\media\Entity\Media::getCurrentUserId.
media_removed_post_updates in core/modules/media/media.post_update.php
Implements hook_removed_post_updates().
menu_link_content_removed_post_updates in core/modules/menu_link_content/menu_link_content.post_update.php
Implements hook_removed_post_updates().
migrate_drupal_post_update_uninstall_multilingual in core/modules/migrate_drupal/migrate_drupal.post_update.php
Uninstall migrate_drupal_multilingual since migrate_drupal is installed.
migrate_post_update_clear_migrate_source_count_cache in core/modules/migrate/migrate.post_update.php
Clear the source count cache.
module_test_post_update_test in core/modules/system/tests/modules/module_test/module_test.post_update.php
Test post update function.
node_post_update_glossary_view_published in core/modules/node/node.post_update.php
Add a published filter to the glossary View.
node_post_update_modify_base_field_author_override in core/modules/node/node.post_update.php
Updates stale references to Drupal\node\Entity\Node::getCurrentUserId.
node_post_update_rebuild_node_revision_routes in core/modules/node/node.post_update.php
Rebuild the node revision routes.
node_removed_post_updates in core/modules/node/node.post_update.php
Implements hook_removed_post_updates().
path_removed_post_updates in core/modules/path/path.post_update.php
Implements hook_removed_post_updates().
post_update_test_failing_post_update_exception in core/modules/system/tests/modules/post_update_test_failing/post_update_test_failing.post_update.php
Post update that throws an exception.
responsive_image_removed_post_updates in core/modules/responsive_image/responsive_image.post_update.php
Implements hook_removed_post_updates().
rest_post_update_delete_settings in core/modules/rest/rest.post_update.php
Remove obsolete rest.settings configuration.
rest_removed_post_updates in core/modules/rest/rest.post_update.php
Implements hook_removed_post_updates().
search_post_update_reindex_after_diacritics_rule_change in core/modules/search/search.post_update.php
Mark everything for reindexing after diacritics removal rule change.
search_removed_post_updates in core/modules/search/search.post_update.php
Implements hook_removed_post_updates().
serialization_post_update_delete_settings in core/modules/serialization/serialization.post_update.php
Remove obsolete serialization.settings configuration.
system_post_update_claro_dropbutton_variants in core/modules/system/system.post_update.php
Clear caches due to trustedCallbacks changing in ClaroPreRender.
system_post_update_delete_authorize_settings in core/modules/system/system.post_update.php
Remove obsolete system.authorize configuration.
system_post_update_delete_rss_settings in core/modules/system/system.post_update.php
Remove obsolete system.rss configuration.
system_post_update_enable_provider_database_driver in core/modules/system/system.post_update.php
Enable the modules that are providing the listed database drivers.
system_post_update_entity_revision_metadata_bc_cleanup in core/modules/system/system.post_update.php
Remove backwards-compatibility leftovers from entity type definitions.
system_post_update_extra_fields_form_display in core/modules/system/system.post_update.php
Update all entity form displays that contain extra fields.
system_post_update_remove_key_value_expire_all_index in core/modules/system/system.post_update.php
Drop the 'all' index on the 'key_value_expire' table.
system_post_update_schema_version_int in core/modules/system/system.post_update.php
Update schema version to integers.
system_post_update_service_advisory_settings in core/modules/system/system.post_update.php
Add new security advisory retrieval settings.
system_post_update_sort_all_config in core/modules/system/system.post_update.php
Sort all configuration according to its schema.
system_post_update_uninstall_classy in core/modules/system/system.post_update.php
Uninstall Classy if it is no longer needed.
system_post_update_uninstall_entity_reference_module in core/modules/system/system.post_update.php
Uninstall entity_reference.
system_post_update_uninstall_simpletest in core/modules/system/system.post_update.php
Uninstall SimpleTest.
system_post_update_uninstall_stable in core/modules/system/system.post_update.php
Uninstall Stable if it is no longer needed.
system_removed_post_updates in core/modules/system/system.post_update.php
Implements hook_removed_post_updates().
taxonomy_post_update_clear_views_argument_validator_plugins_cache in core/modules/taxonomy/taxonomy.post_update.php
Clear the cache after deprecating Term views argument validator.
taxonomy_removed_post_updates in core/modules/taxonomy/taxonomy.post_update.php
Implements hook_removed_post_updates().
test_theme_updates_post_update_test in core/modules/system/tests/themes/test_theme_updates/test_theme_updates.post_update.php
Tests post updates for themes.
text_post_update_add_required_summary_flag_form_display in core/modules/text/text.post_update.php
Update text_with_summary widgets to add summary required flags.
text_removed_post_updates in core/modules/text/text.post_update.php
Implements hook_removed_post_updates().
tour_post_update_joyride_selectors_to_selector_property in core/modules/tour/tour.post_update.php
Convert Joyride selectors to `selector` property.
update_post_update_add_view_update_notifications_permission in core/modules/update/update.post_update.php
Add 'view update notifications' to roles with 'administer site configuration'.
update_test_failing_post_update_first in core/modules/system/tests/modules/update_test_failing/update_test_failing.post_update.php
First update, should not be run since this module's update hooks fail.
update_test_postupdate_post_update_first in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
First update.
update_test_postupdate_post_update_second in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
Second update.
update_test_postupdate_post_update_test0 in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
Test0 update.
update_test_postupdate_post_update_test1 in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
Test1 update.
update_test_postupdate_post_update_test_batch in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
Testing batch processing in post updates update.
update_test_postupdate_removed_post_updates in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
Implements hook_removed_post_updates().
user_post_update_sort_permissions in core/modules/user/user.post_update.php
No-op update.
user_post_update_sort_permissions_again in core/modules/user/user.post_update.php
Ensure permissions stored in role configuration are sorted using the schema.
user_post_update_update_roles in core/modules/user/user.post_update.php
Calculate role dependencies and remove non-existent permissions.
user_removed_post_updates in core/modules/user/user.post_update.php
Implements hook_removed_post_updates().
views_post_update_configuration_entity_relationships in core/modules/views/views.post_update.php
Clear errors caused by relationships to configuration entities.
views_post_update_field_names_for_multivalue_fields in core/modules/views/views.post_update.php
Update field names for multi-value base fields.
views_post_update_image_lazy_load in core/modules/views/views.post_update.php
Add lazy load options to all image type field configurations.
views_post_update_provide_revision_table_relationship in core/modules/views/views.post_update.php
Clear caches due to adding a relationship from revision table to base table.
views_post_update_remove_sorting_global_text_field in core/modules/views/views.post_update.php
Clear caches due to removal of sorting for global custom text field.
views_post_update_rename_default_display_setting in core/modules/views/views.post_update.php
Rename the setting for showing the default display to 'default_display'.
views_post_update_sort_identifier in core/modules/views/views.post_update.php
Add the identifier option to all sort handler configurations.
views_post_update_title_translations in core/modules/views/views.post_update.php
Rebuild routes to fix view title translations.
views_removed_post_updates in core/modules/views/views.post_update.php
Implements hook_removed_post_updates().
workspaces_post_update_modify_base_field_author_override in core/modules/workspaces/workspaces.post_update.php
Updates stale references to Drupal\workspaces\Entity\Workspace::getCurrentUserId.
workspaces_post_update_remove_association_schema_data in core/modules/workspaces/workspaces.post_update.php
Removes the workspace association entity and field schema data.
workspaces_removed_post_updates in core/modules/workspaces/workspaces.post_update.php
Implements hook_removed_post_updates().
workspace_update_test_post_update_check_active_workspace in core/modules/workspaces/tests/modules/workspace_update_test/workspace_update_test.post_update.php
Checks the active workspace during database updates.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.