mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
Adding Title for Custom Field
This commit is contained in:
@@ -6,20 +6,20 @@ services:
|
||||
class: Chill\CustomFieldsBundle\Routing\RoutesLoader
|
||||
tags:
|
||||
- { name: routing.loader }
|
||||
|
||||
|
||||
chill.custom_field.provider:
|
||||
class: Chill\CustomFieldsBundle\Service\CustomFieldProvider
|
||||
call:
|
||||
- [setContainer, ["@service_container"]]
|
||||
|
||||
|
||||
chill.custom_field.custom_field_choice_type:
|
||||
class: Chill\CustomFieldsBundle\Form\CustomFieldType
|
||||
arguments:
|
||||
- "@chill.custom_field.provider"
|
||||
|
||||
|
||||
tags:
|
||||
- { name: 'form.type', alias: 'custom_field_choice' }
|
||||
|
||||
|
||||
chill.custom_field.custom_fields_group_type:
|
||||
class: Chill\CustomFieldsBundle\Form\CustomFieldsGroupType
|
||||
arguments:
|
||||
@@ -27,7 +27,7 @@ services:
|
||||
- "@translator"
|
||||
tags:
|
||||
- { name: 'form.type', alias: 'custom_fields_group' }
|
||||
|
||||
|
||||
chill.custom_field.custom_field_type:
|
||||
class: Chill\CustomFieldsBundle\Form\Type\CustomFieldType
|
||||
arguments:
|
||||
@@ -35,15 +35,27 @@ services:
|
||||
- "@chill.custom_field.provider"
|
||||
tags:
|
||||
- { name: 'form.type', alias: 'custom_field' }
|
||||
|
||||
|
||||
chill.custom_field.text:
|
||||
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldText
|
||||
tags:
|
||||
- { name: 'chill.custom_field', type: 'text' }
|
||||
|
||||
|
||||
chill.custom_field.address:
|
||||
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldAddress
|
||||
arguments:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
tags:
|
||||
- { name: 'chill.custom_field', type: 'address' }
|
||||
|
||||
chill.custom_field.custom_fields_title_type:
|
||||
class: Chill\CustomFieldsBundle\Form\Type\CustomFieldsTitleType
|
||||
tags:
|
||||
- { name: 'form.type', alias: 'custom_field_title' }
|
||||
|
||||
chill.custom_field.title:
|
||||
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldTitle
|
||||
arguments:
|
||||
- "@request_stack"
|
||||
tags:
|
||||
- { name: 'chill.custom_field', type: 'title' }
|
||||
|
3
Resources/views/Form/form_div_layout.html.twig
Normal file
3
Resources/views/Form/form_div_layout.html.twig
Normal file
@@ -0,0 +1,3 @@
|
||||
{% block custom_field_title_widget %}
|
||||
dump(attr)
|
||||
{% endblock custom_field_title_widget %}
|
Reference in New Issue
Block a user