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.

24 lines
534B

  1. <?php
  2. namespace Lc\PietroBundle\Controller\Thematic;
  3. use Lc\PietroBundle\Model\Thematic;
  4. use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
  5. use Lc\SovBundle\Controller\AbstractAdminController as AbstractCrudController;
  6. abstract class ThematicAdminController extends AbstractCrudController
  7. {
  8. public static function getEntityFqcn(): string
  9. {
  10. return Thematic::class;
  11. }
  12. public function configureFields(string $pageName): iterable
  13. {
  14. return [
  15. TextField::new('name')
  16. ];
  17. }
  18. }