|
12345678910111213141516171819202122232425262728293031 |
- <?php
-
- namespace Lc\CaracoleBundle\Controller\Dashboard;
-
- use EasyCorp\Bundle\EasyAdminBundle\Config\Assets;
- use EasyCorp\Bundle\EasyAdminBundle\Config\Crud;
- use Lc\SovBundle\Controller\Dashboard\DashboardController as SovDashboardController ;
-
- class DashboardAdminController extends SovDashboardController
- {
- public function configureCrud(): Crud
- {
- $crud = parent::configureCrud();
-
- $crud
- ->overrideTemplate('layout', '@LcCaracole/adminlte/layout.html.twig');
-
- return $crud ;
- }
-
- public function configureAssets(): Assets
- {
- $assets = parent::configureAssets(); // TODO: Change the autogenerated stub
-
- $assets->addWebpackEncoreEntry('carac-common') ;
- $assets->addWebpackEncoreEntry('carac-switch-merchant') ;
-
- return $assets ;
- }
-
- }
|