Reputation: 1191
I'm using Symfony 4 and I have this error after installing Bee-Lab/BeelabTagBundle :
The child node "tag_class" at path "beelab_tag" must be configured.
It's written in the documentation that we must configure the set in app/config/config.yml but in Symfony 4 this file does not exist anymore.
# app/config/config.yml
# BeelabTag Configuration
beelab_tag:
tag_class: AppBundle\Entity\Tag
purge: true
How can I configure it?
Thanks in advance
Upvotes: 0
Views: 154
Reputation: 548
Hi Aurelien is it possible to add multiple classes in tag_class I mean like below
beelab_tag:
tag_class: [ContactBundle\Entity\Tag, ContactBundle\Entity\Interest]
purge: false
tried adding like above not working can you please let me know is there any way we can add multiple tag classes
Upvotes: 0
Reputation: 1507
Under config/packages/, create a new file called beelab_tag.yaml
Then put your config in it the same way you did, so :
# config/packages/beelab_tag.yaml
# BeelabTag Configuration
beelab_tag:
tag_class: AppBundle\Entity\Tag
purge: true
Upvotes: 2