1

According to http://fabien.potencier.org/symfony4-best-practices.html there are no/limited use cases for a config.yml file. Where should I put the easy_admin configuration for entities it manages with symfony 4?

andig
  • 13,378
  • 13
  • 61
  • 98
  • 1
    I have not tried it myself but the config file would go under config\packages – Cerad Oct 30 '17 at 18:12
  • 2
    yeah, see https://github.com/javiereguiluz/easy-admin-demo/pull/54/files#diff-16eb3931c827c426c299db82e2d8be5b – yceruto Oct 31 '17 at 05:11

1 Answers1

7

You have to configure EasyAdminBundle in config/packages/easy_admin.yaml

It will be automatically handled by the kernel. You can have a look in src/Kernel.php, especially the configureContainer() method

yceruto
  • 9,230
  • 5
  • 38
  • 65
MatMouth
  • 858
  • 2
  • 7
  • 24