diff --git a/core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php b/core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php index 9b23b9f691..4c726ac4ea 100644 --- a/core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php +++ b/core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php @@ -232,6 +232,8 @@ public function label() { */ public function save() { $entity = $this->getEntity(); + // @todo Request editable revision when API provided by entity API. + // @see https://www.drupal.org/node/2942907 if ($entity->getEntityType()->isRevisionable() && $bundle_entity_type = $this->getEntity()->getEntityType()->getBundleEntityType()) { $bundle = $this->entityTypeManager->getStorage($bundle_entity_type)->load($entity->bundle()); if ($bundle instanceof RevisionableEntityBundleInterface && $bundle->shouldCreateNewRevision()) {