Unverified Commit 71584842 authored by larowlan's avatar larowlan

Issue #2931047 by Dropa, D34dMan, borisson_, catch: hook_post_update_NAME...

Issue #2931047 by Dropa, D34dMan, borisson_, catch: hook_post_update_NAME documentation is misleading
parent a46090e0
......@@ -676,9 +676,10 @@ function hook_update_N(&$sandbox) {
* These updates are executed after all hook_update_N() implementations. At this
* stage Drupal is already fully repaired so you can use any API as you wish.
*
* NAME can be arbitrary machine names. In contrast to hook_update_N() the order
* of functions in the file is the only thing which ensures the execution order
* of those functions.
* NAME can be arbitrary machine names. In contrast to hook_update_N() the
* alphanumeric naming of functions in the file is the only thing which ensures
* the execution order of those functions. If update order is mandatory,
* you should add numerical prefix to NAME or make it completely numerical.
*
* Drupal also ensures to not execute the same hook_post_update_NAME() function
* twice.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment