diff core/lib/Drupal/Core/Extension/module.api.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Extension/module.api.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/core/lib/Drupal/Core/Extension/module.api.php	Mon Apr 23 09:46:53 2018 +0100
@@ -676,9 +676,10 @@
  * 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.