您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DashboardAdminController.php 826B

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\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. }