API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...

Enter a descriptive title (above) relating to function hook_update_N, then describe the problem you have found:

hook_post_update_NAME() exists for purposes for which hook_update_N() isn't suitable.

However, docs for hook_update_N() don't mention that other hook at all. They should say which purposes hook_update_N() is not suitable for, and link to hook_post_update_NAME().

Comments

joachim created an issue. See original summary.

luke.stewart’s picture

Issue tags: +API Documentation

Version: 10.0.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

mstrelan’s picture

Status: Active » Closed (duplicate)