You are here

129 functions implement hook_post_update_NAME() in Drupal 8

Note: this list is generated by pattern matching, so it 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_add_views_reusable_filter in core/modules/block_content/block_content.post_update.php
Adds a 'reusable' filter to all Custom Block views.
block_post_update_disabled_region_update in core/modules/block/block.post_update.php
Disable blocks that are placed into the "disabled" region.
block_post_update_disable_blocks_with_missing_contexts in core/modules/block/block.post_update.php
Disable all blocks with missing context IDs in block_update_8001().
block_post_update_fix_negate_in_conditions in core/modules/block/block.post_update.php
Fix invalid 'negate' values in block visibility conditions.
comment_post_update_add_ip_address_setting in core/modules/comment/comment.post_update.php
Add comment settings.
comment_post_update_enable_comment_admin_view in core/modules/comment/comment.post_update.php
Enable the comment admin view.
contact_post_update_add_message_redirect_field_to_contact_form in core/modules/contact/contact.post_update.php
Initialize 'message' and 'redirect' field values to 'contact_form' entities.
content_moderation_post_update_entity_display_dependencies in core/modules/content_moderation/content_moderation.post_update.php
Update the dependencies of entity displays to include associated workflow.
content_moderation_post_update_set_default_moderation_state in core/modules/content_moderation/content_moderation.post_update.php
Set the default moderation state for new content to 'draft'.
content_moderation_post_update_set_views_filter_latest_translation_affected_revision in core/modules/content_moderation/content_moderation.post_update.php
Set the filter on the moderation view to be the latest translation affected.
content_moderation_post_update_update_cms_default_revisions in core/modules/content_moderation/content_moderation.post_update.php
Synchronize moderation state default revisions with their host entities.
content_moderation_post_update_views_field_plugin_id in core/modules/content_moderation/content_moderation.post_update.php
Update the moderation state views field plugin ID.
contextual_post_update_fixed_endpoint_and_markup in core/modules/contextual/contextual.post_update.php
Ensure new page loads use the updated JS and get the updated markup.
datetime_range_post_update_translatable_separator in core/modules/datetime_range/datetime_range.post_update.php
Clear caches to ensure schema changes are read.
datetime_range_post_update_views_string_plugin_id in core/modules/datetime_range/datetime_range.post_update.php
Update existing views using datetime_range fields.
dblog_post_update_convert_recent_messages_to_view in core/modules/dblog/dblog.post_update.php
Replace 'Recent log messages' with a view.
drupal_migrate_post_update_clear_migrate_field_plugin_cache in core/modules/migrate_drupal/migrate_drupal.post_update.php
Force MigrateField plugin definitions to be cleared.
editor_post_update_clear_cache_for_file_reference_filter in core/modules/editor/editor.post_update.php
Clear the render cache to fix file references added by Editor.
entity_test_schema_converter_post_update_make_revisionable in core/modules/system/tests/modules/entity_test_schema_converter/entity_test_schema_converter.post_update.php
Update entity_test_update to be revisionable.
field_post_update_email_widget_size_setting in core/modules/field/field.post_update.php
Adds the 'size' setting for email widgets.
field_post_update_entity_reference_handler_setting in core/modules/field/field.post_update.php
Fixes the 'handler' setting for entity reference fields.
field_post_update_remove_handler_submit_setting in core/modules/field/field.post_update.php
Remove the stale 'handler_submit' setting for entity_reference fields.
field_post_update_save_custom_storage_property in core/modules/field/field.post_update.php
Re-save all field storage config objects to add 'custom_storage' property.
image_post_update_image_style_dependencies in core/modules/image/image.post_update.php
Saves the image style dependencies into form and view display entities.
image_post_update_scale_and_crop_effect_add_anchor in core/modules/image/image.post_update.php
Add 'anchor' setting to 'Scale and crop' effects.
language_post_update_language_select_widget in core/modules/language/language.post_update.php
Add the 'include_locked' settings to the 'language_select' widget.
layout_builder_post_update_add_extra_fields in core/modules/layout_builder/layout_builder.post_update.php
Ensure all extra fields are properly stored on entity view displays.
layout_builder_post_update_cancel_link_to_discard_changes_form in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to routing changes for the new discard changes form.
layout_builder_post_update_discover_blank_layout_plugin in core/modules/layout_builder/layout_builder.post_update.php
Clear caches to discover new blank layout plugin.
layout_builder_post_update_discover_new_contextual_links in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to new link added to Layout Builder's contextual links.
layout_builder_post_update_fix_tempstore_keys in core/modules/layout_builder/layout_builder.post_update.php
Fix Layout Builder tempstore keys of existing entries.
layout_builder_post_update_layout_builder_dependency_change in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to dependency changes in the layout_builder render element.
layout_builder_post_update_make_layout_untranslatable in core/modules/layout_builder/layout_builder.post_update.php
Set the layout builder field as non-translatable where possible.
layout_builder_post_update_overrides_view_mode_annotation in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to changes to annotation changes to the Overrides plugin.
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_rebuild_plugin_dependencies in core/modules/layout_builder/layout_builder.post_update.php
Rebuild plugin dependencies for all entity view displays.
layout_builder_post_update_remove_layout_is_rebuilding in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to the removal of the layout_is_rebuilding query string.
layout_builder_post_update_routing_defaults in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to routing changes to changing the URLs for defaults.
layout_builder_post_update_routing_entity_form in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to routing changes to move the Layout Builder UI to forms.
layout_builder_post_update_section_storage_context_definitions in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to changes to section storage annotation changes.
layout_builder_post_update_section_third_party_settings_schema in core/modules/layout_builder/layout_builder.post_update.php
Clear caches due to config schema additions.
layout_builder_post_update_update_permissions in core/modules/layout_builder/layout_builder.post_update.php
Add new custom block permission to all roles with 'configure any layout'.
layout_discovery_post_update_recalculate_entity_form_display_dependencies in core/modules/layout_discovery/layout_discovery.post_update.php
Recalculate dependencies for the entity_form_display entity.
layout_discovery_post_update_recalculate_entity_view_display_dependencies in core/modules/layout_discovery/layout_discovery.post_update.php
Recalculate dependencies for the entity_view_display entity.
locale_post_update_clear_cache_for_old_translations in core/modules/locale/locale.post_update.php
Clear cache to ensure plural translations are removed from it.
media_library_post_update_add_buttons_to_page_view in core/modules/media_library/media_library.post_update.php
Add edit and delete button to media library view page display.
media_library_post_update_add_langcode_filters in core/modules/media_library/media_library.post_update.php
Add langcode filters to media library view displays.
media_library_post_update_add_media_library_image_style in core/modules/media_library/media_library.post_update.php
Create the 'media_library' image style if necessary.
media_library_post_update_add_status_extra_filter in core/modules/media_library/media_library.post_update.php
Add a status extra filter to the media library view default display.
media_library_post_update_default_administrative_list_to_table_display in core/modules/media_library/media_library.post_update.php
Sets /admin/content/media to the table display of the 'media' view.
media_library_post_update_display_modes in core/modules/media_library/media_library.post_update.php
Create and configure Media Library form and view displays for media types.
media_library_post_update_table_display in core/modules/media_library/media_library.post_update.php
Add a table display to the media library view and link grid/table displays.
media_library_post_update_update_8001_checkbox_classes in core/modules/media_library/media_library.post_update.php
Add non js prefixed classes to checkboxes if not present.
media_post_update_add_status_extra_filter in core/modules/media/media.post_update.php
Add a status extra filter to the media view default display.
media_post_update_collection_route in core/modules/media/media.post_update.php
Clear caches due to changes in local tasks and action links.
media_post_update_enable_standalone_url in core/modules/media/media.post_update.php
Keep media items viewable at /media/{id}.
media_post_update_storage_handler in core/modules/media/media.post_update.php
Clear caches due to the addition of a Media-specific entity storage handler.
menu_link_content_post_update_make_menu_link_content_revisionable in core/modules/menu_link_content/menu_link_content.post_update.php
Update custom menu links to be revisionable.
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.
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_configure_status_field_widget in core/modules/node/node.post_update.php
Load all form displays for nodes, add status with these settings, save.
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_node_revision_views_data in core/modules/node/node.post_update.php
Clear caches due to updated views data.
path_post_update_create_language_content_settings in core/modules/path/path.post_update.php
Create the language content settings configuration object for path aliases.
responsive_image_post_update_recreate_dependencies in core/modules/responsive_image/responsive_image.post_update.php
Make responsive image formatters dependent on responsive image styles.
rest_post_update_161923 in core/modules/rest/rest.post_update.php
Clear caches due to changes in route definitions.
rest_post_update_create_rest_resource_config_entities in core/modules/rest/rest.post_update.php
Create REST resource configuration entities.
rest_post_update_resource_granularity in core/modules/rest/rest.post_update.php
Simplify method-granularity REST resource config to resource-granularity.
search_post_update_block_page in core/modules/search/search.post_update.php
Configures default search page for instantiated blocks.
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.
system_post_update_add_expand_all_items_key_in_system_menu_block in core/modules/system/system.post_update.php
Initialize 'expand_all_items' values to system_menu_block.
system_post_update_add_region_to_entity_displays in core/modules/system/system.post_update.php
Update entity displays to contain the region for each field.
system_post_update_change_action_plugins in core/modules/system/system.post_update.php
Change plugin IDs of actions.
system_post_update_change_delete_action_plugins in core/modules/system/system.post_update.php
Change plugin IDs of delete actions.
system_post_update_classy_message_library in core/modules/system/system.post_update.php
Clear caches to ensure Classy's message library is always added.
system_post_update_clear_menu_cache in core/modules/system/system.post_update.php
Clear the menu cache.
system_post_update_entity_reference_autocomplete_match_limit in core/modules/system/system.post_update.php
Populate the new 'match_limit' setting for the ER autocomplete widget.
system_post_update_extra_fields in core/modules/system/system.post_update.php
Update all entity view displays that contain extra fields.
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_field_formatter_entity_schema in core/modules/system/system.post_update.php
Clear caches due to schema changes in core.entity.schema.yml.
system_post_update_field_type_plugins in core/modules/system/system.post_update.php
Force field type plugin definitions to be cleared.
system_post_update_fix_jquery_extend in core/modules/system/system.post_update.php
Clear the library cache and ensure aggregate files are regenerated.
system_post_update_hashes_clear_cache in core/modules/system/system.post_update.php
Force caches using hashes to be cleared (Twig, render cache, etc.).
system_post_update_language_item_callback in core/modules/system/system.post_update.php
Force cache clear for language item callback.
system_post_update_layout_plugin_schema_change in core/modules/system/system.post_update.php
Clear the schema cache.
system_post_update_recalculate_configuration_entity_dependencies in core/modules/system/system.post_update.php
Re-save all configuration entities to recalculate dependencies.
system_post_update_states_clear_cache in core/modules/system/system.post_update.php
Force cache clear to ensure aggregated JavaScript files are regenerated.
system_post_update_timestamp_plugins in core/modules/system/system.post_update.php
Force plugin definitions to be cleared.
taxonomy_post_update_clear_entity_bundle_field_definitions_cache in core/modules/taxonomy/taxonomy.post_update.php
Clear entity_bundle_field_definitions cache for new parent field settings.
taxonomy_post_update_clear_views_data_cache in core/modules/taxonomy/taxonomy.post_update.php
Clear caches due to updated taxonomy entity views data.
taxonomy_post_update_configure_status_field_widget in core/modules/taxonomy/taxonomy.post_update.php
Add status with settings to all form displays for taxonomy entities.
taxonomy_post_update_handle_publishing_status_addition_in_views in core/modules/taxonomy/taxonomy.post_update.php
Add a 'published' = TRUE filter for all Taxonomy term views and converts existing ones that were using the 'content_translation_status' field.
taxonomy_post_update_make_taxonomy_term_revisionable in core/modules/taxonomy/taxonomy.post_update.php
Update taxonomy terms to be revisionable.
taxonomy_post_update_remove_hierarchy_from_vocabularies in core/modules/taxonomy/taxonomy.post_update.php
Remove the 'hierarchy' property from vocabularies.
text_post_update_add_required_summary_flag in core/modules/text/text.post_update.php
Update text_with_summary fields to add summary required flags.
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.
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.
user_post_update_enforce_order_of_permissions in core/modules/user/user.post_update.php
Enforce order of role permissions.
views_post_update_boolean_filter_values in core/modules/views/views.post_update.php
Set all boolean filter values to strings.
views_post_update_bulk_field_moved in core/modules/views/views.post_update.php
Update dependencies for moved bulk field plugin.
views_post_update_cleanup_duplicate_views_data in core/modules/views/views.post_update.php
Update some views fields that were previously duplicated.
views_post_update_entity_link_url in core/modules/views/views.post_update.php
Add additional settings to the entity link field and convert node_path usage to entity_link.
views_post_update_exposed_filter_blocks_label_display in core/modules/views/views.post_update.php
Update exposed filter blocks label display to be disabled.
views_post_update_field_formatter_dependencies in core/modules/views/views.post_update.php
Include field formatter dependencies in a view when the formatter is used.
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_filter_placeholder_text in core/modules/views/views.post_update.php
Add placeholder settings to string or numeric filters.
views_post_update_grouped_filters in core/modules/views/views.post_update.php
Rebuild caches to ensure schema changes are read in.
views_post_update_limit_operator_defaults in core/modules/views/views.post_update.php
Define default values for limit operators settings in all filters.
views_post_update_make_placeholders_translatable in core/modules/views/views.post_update.php
Rebuild cache to allow placeholder texts to be translatable.
views_post_update_remove_core_key in core/modules/views/views.post_update.php
Remove core key from views configuration.
views_post_update_revision_metadata_fields in core/modules/views/views.post_update.php
Fix table names for revision metadata fields.
views_post_update_serializer_dependencies in core/modules/views/views.post_update.php
Fix views with serializer dependencies.
views_post_update_table_display_cache_max_age in core/modules/views/views.post_update.php
Fix cache max age for table displays.
views_post_update_taxonomy_index_tid in core/modules/views/views.post_update.php
Fix views with dependencies on taxonomy terms that don't exist.
views_post_update_update_cacheability_metadata in core/modules/views/views.post_update.php
Update the cacheability metadata for all views.
views_post_update_views_data_table_dependencies in core/modules/views/views.post_update.php
Include views data table provider in views dependencies.
workspaces_post_update_access_clear_caches in core/modules/workspaces/workspaces.post_update.php
Clear caches due to access changes.
workspaces_post_update_move_association_data in core/modules/workspaces/workspaces.post_update.php
Move the workspace association data to an entity field and a custom table.
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_post_update_remove_default_workspace in core/modules/workspaces/workspaces.post_update.php
Remove the default workspace.
workspaces_post_update_update_deploy_form_display in core/modules/workspaces/workspaces.post_update.php
Add the workspace 'parent' field to the 'deploy' form display.
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.