Closed tstauer closed 3 years ago
Turn off normalization of type keys in the Symfony config loader.
The type keys of the configuration must match the tag type of tags by the name sulu_article.type from article XML files. See here about the Symfony feature: https://symfony.com/doc/current/components/config/definition.html#normalization
See press-release in the following config file. It must not be normalized to press_release.
sulu_article: index_name: '%env(resolve:ELASTICSEARCH_INDEX)%' hosts: - '%env(resolve:ELASTICSEARCH_HOST)%' types: press-release: translation_key: "app.article_types.press-release"
What's in this PR?
Turn off normalization of type keys in the Symfony config loader.
Why?
The type keys of the configuration must match the tag type of tags by the name sulu_article.type from article XML files. See here about the Symfony feature: https://symfony.com/doc/current/components/config/definition.html#normalization
Example Usage
See press-release in the following config file. It must not be normalized to press_release.