Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / system / tests / modules / update_test_failing / update_test_failing.post_update.php
1 <?php
2
3 /**
4  * @file
5  * Post update functions for test module.
6  */
7
8 /**
9  * First update, should not be run since this module's update hooks fail.
10  */
11 function update_test_failing_post_update_first() {
12   $execution = \Drupal::state()->get('post_update_test_execution', []);
13   $execution[] = __FUNCTION__;
14   \Drupal::state()->set('post_update_test_execution', $execution);
15 }