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; } public function configureUserMenu(UserInterface $user): UserMenu { return parent::configureUserMenu($user) ->setMenuItems( [ MenuItem::linkToRoute('Mon profil', 'fa fa-id-card', 'sov_admin_account_profile'), MenuItem::linkToLogout('Déconnexion', 'sign-out-alt'), ] ); } }