src/AdminBundle/Admin/Report/ReportAnalyticAdmin.php line 8

Open in your IDE?
  1. <?php
  2. namespace AdminBundle\Admin\Report;
  3. use AdminBundle\Admin\BaseAdmin;
  4. use Sonata\AdminBundle\Route\RouteCollectionInterface;
  5. class ReportAnalyticAdmin extends BaseAdmin
  6. {
  7.     protected function configureRoutes(RouteCollectionInterface $collection): void
  8.     {
  9.         $collection->remove('edit');
  10.         $collection->remove('create');
  11.         $collection->remove('delete');
  12.     }
  13.     protected function configure(): void
  14.     {
  15.         parent::configure(); // TODO: Change the autogenerated stub
  16.         $this->setTemplate('list''@Admin\CRUD\Report\report-list.html.twig');
  17.     }
  18. }