projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
modules
/
layout_builder
/
src
/
Field
/
LayoutSectionItemList.php
diff --git
a/web/core/modules/layout_builder/src/Field/LayoutSectionItemList.php
b/web/core/modules/layout_builder/src/Field/LayoutSectionItemList.php
index a2ceca1373819bc00c91a9d323385c8e5cab1b45..c2603192f21689a11b76d93313e08ad45e22c0b4 100644
(file)
--- a/
web/core/modules/layout_builder/src/Field/LayoutSectionItemList.php
+++ b/
web/core/modules/layout_builder/src/Field/LayoutSectionItemList.php
@@
-47,9
+47,12
@@
class LayoutSectionItemList extends FieldItemList implements SectionListInterfac
/**
* {@inheritdoc}
*/
/**
* {@inheritdoc}
*/
- public function __wakeup() {
+ public function getEntity() {
+ $entity = parent::getEntity();
+
// Ensure the entity is updated with the latest value.
// Ensure the entity is updated with the latest value.
- $this->getEntity()->set($this->getName(), $this->getValue());
+ $entity->set($this->getName(), $this->getValue());
+ return $entity;
}
}
}
}