Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / content_moderation / content_moderation.post_update.php
index e2e583e76d9d10e8547d22b4d832df3e5a6ed169..ff5a28a9d3b346518fe9a308396c2f6a222d586c 100644 (file)
@@ -20,6 +20,7 @@ function content_moderation_post_update_update_cms_default_revisions(&$sandbox)
   $entity_type_id = &$sandbox['entity_type_id'];
   if (!isset($entity_type_id)) {
     $sandbox['bundles'] = [];
+    $sandbox['entity_type_ids'] = [];
     /** @var \Drupal\workflows\WorkflowInterface $workflow */
     foreach (Workflow::loadMultipleByType('content_moderation') as $workflow) {
       /** @var \Drupal\content_moderation\Plugin\WorkflowType\ContentModeration $plugin */