Spaces:
No application file
No application file
| return [ | |
| 'routes' => [ | |
| 'main' => [ | |
| 'mautic_config_action' => [ | |
| 'path' => '/config/{objectAction}/{objectId}', | |
| 'controller' => 'Mautic\ConfigBundle\Controller\ConfigController::executeAction', | |
| ], | |
| 'mautic_sysinfo_index' => [ | |
| 'path' => '/sysinfo', | |
| 'controller' => 'Mautic\ConfigBundle\Controller\SysinfoController::indexAction', | |
| ], | |
| ], | |
| ], | |
| 'menu' => [ | |
| 'admin' => [ | |
| 'mautic.config.menu.index' => [ | |
| 'route' => 'mautic_config_action', | |
| 'routeParameters' => ['objectAction' => 'edit'], | |
| 'iconClass' => 'ri-settings-5-line', | |
| 'id' => 'mautic_config_index', | |
| 'access' => 'admin', | |
| 'priority' => 16, | |
| ], | |
| 'mautic.sysinfo.menu.index' => [ | |
| 'route' => 'mautic_sysinfo_index', | |
| 'iconClass' => 'ri-information-2-fill', | |
| 'id' => 'mautic_sysinfo_index', | |
| 'access' => 'admin', | |
| 'priority' => 04, | |
| 'checks' => [ | |
| 'parameters' => [ | |
| 'sysinfo_disabled' => false, | |
| ], | |
| ], | |
| ], | |
| ], | |
| ], | |
| 'parameters' => [ | |
| 'config_allowed_parameters' => [ | |
| 'kernel.project_dir', | |
| 'kernel.logs_dir', | |
| ], | |
| ], | |
| ]; | |