6 function woot_update_8101() {
7 return t('This is the update message from woot_update_8101');
13 function woot_update_8102() {
14 throw new \Exception('This is the exception message thrown in woot_update_8102');
18 * Another good update.
20 function woot_update_8103() {
21 // By using the theme system we can test that all Drupal modules are fully
22 // loaded when the updates are being performed. The renderer will throw an
23 // exception if this is not the case.
25 '#theme' => 'item_list',
26 '#items' => ['a', 'b'],
28 \Drupal::service('renderer')->renderPlain($render_array);
29 return t('This is the update message from woot_update_8103');