Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
converted_valid_acl.php
Go to the documentation of this file.
1 <?php
6 return [
7  'config' => [
8  'acl' => [
9  'resources' => [
10  [
11  'id' => 'Custom_Module::resource_one',
12  'title' => 'Resource One Title',
13  'sortOrder' => 10,
14  'disabled' => true,
15  'children' => [],
16  ],
17  [
18  'id' => 'Custom_Module::resource_two',
19  'title' => 'Resource Two Title',
20  'sortOrder' => 20,
21  'disabled' => false,
22  'children' => []
23  ],
24  [
25  'id' => 'Custom_Module::parent_resource',
26  'title' => 'Parent Resource Title',
27  'sortOrder' => 50,
28  'disabled' => false,
29  'children' => [
30  [
31  'id' => 'Custom_Module::child_resource_one',
32  'title' => 'Resource Child Title',
33  'sortOrder' => 30,
34  'disabled' => false,
35  'children' => [
36  [
37  'id' => 'Custom_Module::child_resource_two',
38  'title' => 'Resource Child Level 2 Title',
39  'sortOrder' => 10,
40  'disabled' => false,
41  'children' => [],
42  ],
43  ],
44  ],
45  ]
46  ],
47  ],
48  ],
49  ]
50 ];