comparison 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
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
674 * These implementations have to be placed in a MODULE.post_update.php file. 674 * These implementations have to be placed in a MODULE.post_update.php file.
675 * 675 *
676 * These updates are executed after all hook_update_N() implementations. At this 676 * These updates are executed after all hook_update_N() implementations. At this
677 * stage Drupal is already fully repaired so you can use any API as you wish. 677 * stage Drupal is already fully repaired so you can use any API as you wish.
678 * 678 *
679 * NAME can be arbitrary machine names. In contrast to hook_update_N() the order 679 * NAME can be arbitrary machine names. In contrast to hook_update_N() the
680 * of functions in the file is the only thing which ensures the execution order 680 * alphanumeric naming of functions in the file is the only thing which ensures
681 * of those functions. 681 * the execution order of those functions. If update order is mandatory,
682 * you should add numerical prefix to NAME or make it completely numerical.
682 * 683 *
683 * Drupal also ensures to not execute the same hook_post_update_NAME() function 684 * Drupal also ensures to not execute the same hook_post_update_NAME() function
684 * twice. 685 * twice.
685 * 686 *
686 * @param array $sandbox 687 * @param array $sandbox