File tree Expand file tree Collapse file tree 3 files changed +42
-2
lines changed
Expand file tree Collapse file tree 3 files changed +42
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,37 @@ sylius_grid:
22 templates :
33 action :
44 export : ' @SyliusGridImportExport\admin\import_export\grid\action\export.html.twig'
5-
5+ grids :
6+ sylius_grid_import_export_admin_process :
7+ driver :
8+ name : doctrine/orm
9+ options :
10+ class : Sylius\GridImportExport\Entity\Process
11+ sorting :
12+ createdAt : desc
13+ fields :
14+ uuid :
15+ type : string
16+ label : sylius.ui.id
17+ sortable : ~
18+ type :
19+ type : string
20+ label : sylius.ui.type
21+ resource :
22+ type : string
23+ label : sylius.ui.resource
24+ status :
25+ type : string
26+ label : sylius.ui.status
27+ createdAt :
28+ type : datetime
29+ label : sylius.ui.created_at
30+ actions :
31+ item :
32+ show :
33+ type : show
34+ delete :
35+ type : delete
36+ bulk :
37+ delete :
38+ type : delete
Original file line number Diff line number Diff line change 9292 <service id =" sylius_import_export.listener.grid.admin.export_action" class =" Sylius\GridImportExport\Grid\Listener\ExportActionAdminGridListener" >
9393 <tag name =" kernel.event_listener" event =" sylius.grid.common" method =" addExportMainAction" />
9494 </service >
95+
96+ <service id =" sylius_grid_import_export.menu.admin_listener" class =" Sylius\GridImportExport\Menu\AdminImportExportMenuListener" >
97+ <argument type =" service" id =" sylius_grid_import_export.menu.reorder" />
98+ <tag name =" kernel.event_listener" method =" buildMenu" event =" sylius.menu.admin.main" />
99+ </service >
100+
101+ <service id =" sylius_grid_import_export.menu.reorder" class =" Sylius\GridImportExport\Menu\MenuReorder" />
95102 </services >
96103</container >
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ public function buildMenu(MenuBuilderEvent $event): void
3636 ])
3737 ->setLabel ('sylius_grid_import_export.ui.processes ' );
3838
39- $ this ->menuReorder ->reorder ($ menu , 'import_export ' , 'configuration ' );
39+ $ this ->menuReorder ->reorder ($ menu , 'import_export ' , 'marketing ' );
4040 }
4141}
You can’t perform that action at this time.
0 commit comments