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