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.

23 lines
568B

  1. <?php
  2. namespace App\Controller\Admin;
  3. use App\Entity\Page;
  4. use EasyCorp\Bundle\EasyAdminBundle\Config\Crud;
  5. use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController as ModelAbstractCrudController;
  6. abstract class AbstractCrudController extends ModelAbstractCrudController
  7. {
  8. /*
  9. public function configureFields(string $pageName): iterable
  10. {
  11. return [
  12. IdField::new('id'),
  13. TextField::new('title'),
  14. TextEditorField::new('description'),
  15. ];
  16. }
  17. */
  18. }