add a date field

This commit is contained in:
2018-03-27 16:35:56 +02:00
parent bcf0e8d89d
commit d1fd359366
5 changed files with 249 additions and 1 deletions

View File

@@ -87,6 +87,14 @@ services:
- "@chill.main.helper.translatable_string"
tags:
- { name: 'chill.custom_field', type: 'title' }
chill.custom_field.date:
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldDate
arguments:
- "@templating"
- "@chill.main.helper.translatable_string"
tags:
- { name: 'chill.custom_field', type: 'date' }
chill.custom_field.helper:
class: Chill\CustomFieldsBundle\Service\CustomFieldsHelper