Using TranslatableStringHelper inside CustomFieldChoice, CustomFieldText & CustomFieldTitle

This commit is contained in:
Marc Ducobu
2014-11-17 12:10:14 +01:00
parent 1191cd7f90
commit 43d863ef88
4 changed files with 56 additions and 14 deletions

View File

@@ -40,6 +40,7 @@ services:
arguments:
- "@request_stack"
- "@templating"
- "@chill.main.helper.translatable_string"
tags:
- { name: 'chill.custom_field', type: 'text' }
@@ -49,6 +50,7 @@ services:
- "@request_stack"
- %locale%
- "@templating"
- "@chill.main.helper.translatable_string"
tags:
- { name: 'chill.custom_field', type: 'choice' }
@@ -69,6 +71,7 @@ services:
arguments:
- "@request_stack"
- "@templating"
- "@chill.main.helper.translatable_string"
tags:
- { name: 'chill.custom_field', type: 'title' }