39 functions implement hook_update_N()
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.
- 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_update_last_removed in core/
modules/ block/ block.install - Implements hook_update_last_removed().
- comment_update_last_removed in core/
modules/ comment/ comment.install - Implements hook_update_last_removed().
- downgrade_prevention_test_update_11102 in core/
modules/ system/ tests/ modules/ downgrade_prevention_test/ downgrade_prevention_test.install - A hook_update_N that is equivalent update to 10400.
- editor_update_last_removed in core/
modules/ editor/ editor.install - Implements hook_update_last_removed().
- help_update_last_removed in core/
modules/ help/ help.install - Implements hook_update_last_removed().
- image_update_last_removed in core/
modules/ image/ image.install - Implements hook_update_last_removed().
- 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.
- navigation_update_11001 in core/
modules/ navigation/ navigation.install - Reorganizes the values for the logo settings.
- navigation_update_11002 in core/
modules/ navigation/ navigation.install - Update for navigation logo to store the file path instead of ID.
- package_manager_post_update_test in core/
modules/ package_manager/ tests/ fixtures/ post_update.php - Here is a fake post-update hook.
- package_manager_update_2147483647 in core/
modules/ package_manager/ tests/ fixtures/ db_update.php - Here is a fake 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.
- pgsql_update_last_removed in core/
modules/ pgsql/ pgsql.install - Implements hook_update_last_removed().
- taxonomy_update_last_removed in core/
modules/ taxonomy/ taxonomy.install - Implements hook_update_last_removed().
- template_preprocess_update_fetch_error_message in core/
modules/ update/ update.report.inc - Prepares variables for update fetch error message templates.
- template_preprocess_update_last_check in core/
modules/ update/ update.module - Prepares variables for last time update data was checked templates.
- template_preprocess_update_project_status in core/
modules/ update/ update.report.inc - Prepares variables for update project status templates.
- template_preprocess_update_report in core/
modules/ update/ update.report.inc - Prepares variables for project status report templates.
- template_preprocess_update_version in core/
modules/ update/ update.report.inc - Prepares variables for update version templates.
- under_test_update_1 in core/
tests/ Drupal/ Tests/ Core/ Update/ UpdateHookRegistryTest.php - Simulates a hook_update_N function.
- under_test_update_1234_failed in core/
tests/ Drupal/ Tests/ Core/ Update/ UpdateHookRegistryTest.php - Simulates a hook_update_N function.
- under_test_update_20 in core/
tests/ Drupal/ Tests/ Core/ Update/ UpdateHookRegistryTest.php - Simulates a hook_update_N function.
- under_test_update_3000 in core/
tests/ Drupal/ Tests/ Core/ Update/ UpdateHookRegistryTest.php - Simulates a hook_update_N function.
- update_authorize_update_batch_finished in core/
modules/ update/ update.authorize.inc - Batch callback: Performs actions when the authorized update batch is done.
- update_calculate_project_update_status in core/
modules/ update/ update.compare.inc - Calculates the current update status of a specific project.
- update_clear_update_disk_cache in core/
modules/ update/ update.module - Clears the temporary files and directories based on file age from disk.
- update_get_update_function_list in core/
includes/ update.inc - Returns an organized list of update functions for a set of modules.
- update_get_update_list in core/
includes/ update.inc - Returns a list of all the pending database updates.
- update_post_update_clear_disk_cache in core/
modules/ update/ update.post_update.php - Removes the legacy 'Update Manager' disk cache.
- update_update_last_removed in core/
modules/ update/ update.install - Implements hook_update_last_removed().
- user_update_last_removed in core/
modules/ user/ user.install - Implements hook_update_last_removed().
- 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.
- views_ui_ajax_update_form in core/
modules/ views_ui/ admin.inc - Updates a part of the add view form via AJAX.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.