Only display active custom fields in form & view

This commit is contained in:
Marc Ducobu
2015-09-30 13:32:24 +02:00
parent 9f98c4e7e6
commit 101783b9f1
4 changed files with 126 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ services:
- "@chill.main.helper.translatable_string"
tags:
- { name: 'chill.custom_field', type: 'choice' }
chill.custom_field.custom_fields_group_linked_custom_fields:
class: Chill\CustomFieldsBundle\Form\Type\LinkedCustomFieldsType
arguments:
@@ -82,3 +82,10 @@ services:
- [setContainer, ["@service_container"]]
tags:
- { name: twig.extension }
chill.custom_field.twig.custom_fields_group_rendering:
class: Chill\CustomFieldsBundle\Templating\Twig\CustomFieldsGroupRenderingTwig
calls:
- [setContainer, ["@service_container"]]
tags:
- { name: twig.extension }