File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/code/Magento/Backend/Model/View/Layout/Reader Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 7
7
8
8
use Magento \Framework \View \Layout ;
9
9
use Magento \Framework \Data \Argument \InterpreterInterface ;
10
+ use Magento \Framework \View \Layout \Reader \Visibility \Condition ;
10
11
11
12
/**
12
13
* Backend block structure reader with ACL support
@@ -20,13 +21,15 @@ class Block extends Layout\Reader\Block
20
21
* @param Layout\Argument\Parser $argumentParser
21
22
* @param Layout\ReaderPool $readerPool
22
23
* @param InterpreterInterface $argumentInterpreter
24
+ * @param Condition $conditionReader
23
25
* @param string|null $scopeType
24
26
*/
25
27
public function __construct (
26
28
Layout \ScheduledStructure \Helper $ helper ,
27
29
Layout \Argument \Parser $ argumentParser ,
28
30
Layout \ReaderPool $ readerPool ,
29
31
InterpreterInterface $ argumentInterpreter ,
32
+ Condition $ conditionReader ,
30
33
$ scopeType = null
31
34
) {
32
35
$ this ->attributes [] = 'acl ' ;
@@ -35,6 +38,7 @@ public function __construct(
35
38
$ argumentParser ,
36
39
$ readerPool ,
37
40
$ argumentInterpreter ,
41
+ $ conditionReader ,
38
42
$ scopeType
39
43
);
40
44
}
You can’t perform that action at this time.
0 commit comments