File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lib/internal/Magento/Framework/View/Page/Config/Reader Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,11 @@ public function interpret(
63
63
/** @var \Magento\Framework\View\Layout\Element $element */
64
64
foreach ($ bodyElement as $ element ) {
65
65
if ($ element ->getName () === self ::BODY_ATTRIBUTE ) {
66
- $ this ->setBodyAttributeTosStructure ($ readerContext , $ element );
66
+ $ this ->setBodyAttributeToStructure ($ readerContext , $ element );
67
67
}
68
68
}
69
- return $ this ->readerPool ->interpret ($ readerContext , $ bodyElement );
69
+ $ this ->readerPool ->interpret ($ readerContext , $ bodyElement );
70
+ return $ this ;
70
71
}
71
72
72
73
/**
@@ -76,7 +77,7 @@ public function interpret(
76
77
* @param Layout\Element $element
77
78
* @return $this
78
79
*/
79
- protected function setBodyAttributeTosStructure (Layout \Reader \Context $ readerContext , Layout \Element $ element )
80
+ protected function setBodyAttributeToStructure (Layout \Reader \Context $ readerContext , Layout \Element $ element )
80
81
{
81
82
if ($ element ->getAttribute ('name ' ) == PageConfig::BODY_ATTRIBUTE_CLASS ) {
82
83
$ readerContext ->getPageConfigStructure ()->setBodyClass ($ element ->getAttribute ('value ' ));
You can’t perform that action at this time.
0 commit comments