87 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.

announcements_feed_post_update_migrate_last_fetch_state_to_keyvalue in core/modules/announcements_feed/announcements_feed.post_update.php
Migrates last fetch timestamp from State API to key/value storage.
big_pipe_removed_post_updates in core/modules/big_pipe/big_pipe.post_update.php
Implements hook_removed_post_updates().
block_content_post_update_remove_block_content_listing_empty in core/modules/block_content/block_content.post_update.php
Remove block_content_listing_empty from views.
block_content_post_update_remove_block_content_status_info_keys in core/modules/block_content/block_content.post_update.php
Remove deprecated status and info keys from block_content blocks.
block_content_removed_post_updates in core/modules/block_content/block_content.post_update.php
Implements hook_removed_post_updates().
block_post_update_make_weight_integer in core/modules/block/block.post_update.php
Ensures that all block weights are integers.
block_post_update_set_menu_block_depth_to_null_if_zero in core/modules/block/block.post_update.php
Updates the `depth` setting to NULL if it is 0 in any menu blocks.
block_removed_post_updates in core/modules/block/block.post_update.php
Implements hook_removed_post_updates().
ckeditor5_post_update_list_type in core/modules/ckeditor5/ckeditor5.post_update.php
No-op update that didn't update quite enough the first time.
ckeditor5_post_update_list_type_again in core/modules/ckeditor5/ckeditor5.post_update.php
Updates Text Editors using CKEditor 5 to native List "type" functionality.
ckeditor5_removed_post_updates in core/modules/ckeditor5/ckeditor5.post_update.php
Implements hook_removed_post_updates().
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_post_update_add_index_content_moderation_state_field_revision_moderation_state in core/modules/content_moderation/content_moderation.post_update.php
Add moderation_state index to content_moderation_state tables.
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_playsinline in core/modules/file/file.post_update.php
Adds a value for the 'playsinline' setting of the 'file_video' formatter.
file_removed_post_updates in core/modules/file/file.post_update.php
Implements hook_removed_post_updates().
filter_removed_post_updates in core/modules/filter/filter.post_update.php
Implements hook_removed_post_updates().
help_removed_post_updates in core/modules/help/help.post_update.php
Implements hook_removed_post_updates().
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_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_media_author_views_filter_update in core/modules/media/media.post_update.php
Empty update function to clear the Views data cache.
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_removed_post_updates in core/modules/migrate_drupal/migrate_drupal.post_update.php
Implements hook_removed_post_updates().
migrate_removed_post_updates in core/modules/migrate/migrate.post_update.php
Implements hook_removed_post_updates().
module_test_post_update_test in core/modules/system/tests/modules/module_test/module_test.post_update.php
Test post update function.
navigation_post_update_navigation_user_links_menu in core/modules/navigation/navigation.post_update.php
Creates the Navigation user links menu.
navigation_post_update_refresh_tempstore_repository in core/modules/navigation/navigation.post_update.php
Flushes tempstore repository for navigation to reflect definition changes.
navigation_post_update_set_logo_dimensions_default in core/modules/navigation/navigation.post_update.php
Defines the values for the default logo dimensions.
navigation_post_update_uninstall_navigation_top_bar in core/modules/navigation/navigation.post_update.php
Uninstall the navigation_top_bar module if installed.
navigation_post_update_update_permissions in core/modules/navigation/navigation.post_update.php
Grants navigation specific permission to roles with access to any layout.
node_post_update_add_rebuild_permission_to_roles in core/modules/node/node.post_update.php
Grants a new permission for rebuilding node access permissions.
node_post_update_create_promote_base_field_overrides in core/modules/node/node.post_update.php
Creates base field override config for the promote base field on node types.
node_removed_post_updates in core/modules/node/node.post_update.php
Implements hook_removed_post_updates().
olivero_removed_post_updates in core/themes/olivero/olivero.post_update.php
Implements hook_removed_post_updates().
package_manager_post_update_test in core/modules/package_manager/tests/fixtures/post_update.php
Here is a fake post-update hook.
path_alias_post_update_update_path_alias_revision_indexes in core/modules/path_alias/path_alias.post_update.php
Update the path_alias_revision indices.
path_alias_removed_post_updates in core/modules/path_alias/path_alias.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_removed_post_updates in core/modules/rest/rest.post_update.php
Implements hook_removed_post_updates().
search_post_update_block_with_empty_page_id in core/modules/search/search.post_update.php
Updates Search Blocks' without an explicit `page_id` from '' to NULL.
search_removed_post_updates in core/modules/search/search.post_update.php
Implements hook_removed_post_updates().
serialization_removed_post_updates in core/modules/serialization/serialization.post_update.php
Implements hook_removed_post_updates().
system_post_update_convert_empty_country_and_timezone_settings_to_null in core/modules/system/system.post_update.php
Updates system.date config to NULL for empty country and timezone defaults.
system_post_update_convert_empty_description_entity_form_modes_to_null in core/modules/system/system.post_update.php
Updates entity_form_mode descriptions from empty string to null.
system_post_update_delete_rss_config in core/modules/system/system.post_update.php
Delete obsolete system.rss configuration.
system_post_update_remove_path_key in core/modules/system/system.post_update.php
Remove path key in system.file.
system_post_update_remove_rss_cdata_subscriber in core/modules/system/system.post_update.php
Rebuild the container to fix HTML in RSS feeds.
system_post_update_sdc_uninstall in core/modules/system/system.post_update.php
Uninstall the sdc module if installed.
system_removed_post_updates in core/modules/system/system.post_update.php
Implements hook_removed_post_updates().
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_removed_post_updates in core/modules/text/text.post_update.php
Implements hook_removed_post_updates().
update_post_update_clear_disk_cache in core/modules/update/update.post_update.php
Removes the legacy 'Update Manager' disk cache.
update_post_update_clear_disk_cache_again in core/modules/update/update.post_update.php
Removes the legacy 'Update Manager' disk cache (again).
update_post_update_fix_update_emails in core/modules/update/update.post_update.php
Remove empty email addresses from update.settings configuration.
update_remove_post_updates in core/modules/update/update.post_update.php
Implements hook_removed_post_updates().
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_removed_post_updates in core/modules/user/user.post_update.php
Implements hook_removed_post_updates().
views_post_update_add_date_default_arguments in core/modules/views/views.post_update.php
Clear cache to add new date default arguments.
views_post_update_block_items_per_page in core/modules/views/views.post_update.php
Defaults `items_per_page` to NULL in Views blocks.
views_post_update_format_plural in core/modules/views/views.post_update.php
Updates the format plural option for those views using aggregation.
views_post_update_table_css_class in core/modules/views/views.post_update.php
Adds a default table CSS class.
views_post_update_update_remember_role_empty in core/modules/views/views.post_update.php
Clean-up empty remember_roles display settings for views filters.
views_post_update_views_data_argument_plugin_id in core/modules/views/views.post_update.php
Post update configured views for entity reference argument plugin IDs.
views_removed_post_updates in core/modules/views/views.post_update.php
Implements hook_removed_post_updates().
views_test_config_updater_post_update_set_deprecations_disabled in core/modules/views/tests/modules/views_test_config_updater/views_test_config_updater.post_update.php
Test post update to set deprecations disabled.
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.