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.

DashboardAdminAdminController.php 836B

12345678910111213141516171819202122232425262728293031
  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\DashboardAdminController as SovDashboardController ;
  6. class DashboardAdminAdminController 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. }