File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php declare (strict_types=1 );
2+
3+ namespace Loki \Base \Util \Block ;
4+
5+ class TransferableAncestorBlockProperties
6+ {
7+ private array $ properties ;
8+
9+ public function __construct (
10+ array $ properties = []
11+ ) {
12+ $ this ->properties = $ properties ;
13+ }
14+
15+ public function getProperties (): array
16+ {
17+ return $ this ->properties ;
18+ }
19+ }
Original file line number Diff line number Diff line change 22
33namespace Loki \Base \ViewModel \Block ;
44
5- use Loki \Components \Util \Block \TransferableAncestorBlockProperties ;
5+ use Loki \Base \Util \Block \TransferableAncestorBlockProperties ;
66use Magento \Framework \App \State as AppState ;
77use Magento \Framework \View \Element \AbstractBlock ;
88use Magento \Framework \View \Element \Block \ArgumentInterface ;
Original file line number Diff line number Diff line change 1212 </argument >
1313 </arguments >
1414 </type >
15+
16+ <type name =" Loki\Base\Util\Block\TransferableAncestorBlockProperties" >
17+ <arguments >
18+ <argument name =" properties" xsi : type =" array" >
19+ <item name =" css_classes" xsi : type =" string" >css_classes</item >
20+ </argument >
21+ </arguments >
22+ </type >
1523</config >
You can’t perform that action at this time.
0 commit comments