You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
826B

  1. <?php
  2. namespace Lc\CaracoleBundle\Controller\Dashboard;
  3. use EasyCorp\Bundle\EasyAdminBundle\Config\Assets;
  4. use EasyCorp\Bundle\EasyAdminBundle\Config\Crud;
  5. use Lc\SovBundle\Controller\Dashboard\DashboardController as SovDashboardController ;
  6. class DashboardAdminController extends SovDashboardController
  7. {
  8. public function configureCrud(): Crud
  9. {
  10. $crud = parent::configureCrud();
  11. $crud
  12. ->overrideTemplate('layout', '@LcCaracole/adminlte/layout.html.twig');
  13. return $crud ;
  14. }
  15. public function configureAssets(): Assets
  16. {
  17. $assets = parent::configureAssets(); // TODO: Change the autogenerated stub
  18. $assets->addWebpackEncoreEntry('carac-common') ;
  19. $assets->addWebpackEncoreEntry('carac-switch-merchant') ;
  20. return $assets ;
  21. }
  22. }