5 * Contains a failing update hook for testing the update system.
8 use Drupal\Core\Utility\UpdateException;
11 * This update will fail.
13 function update_test_failing_update_8001() {
14 throw new UpdateException('This update hook is failing.');
20 function update_test_failing_update_8002() {
21 // This hook won't ever run.