Create a type select2_entity and select2_chill_country refs #318

select2_entity inherits from entity with a class ".select2".
select2_chill_country inherit from select2_entity

[ci skip]
This commit is contained in:
2014-11-14 11:57:06 +01:00
parent 8fa4437b1b
commit 2485f37f93
3 changed files with 108 additions and 0 deletions

View File

@@ -30,3 +30,13 @@ services:
class: Chill\MainBundle\Form\Type\Select2ChoiceType
tags:
- {name: form.type, alias: select2_choice}
chill.main.form.type.select2entity:
class: Chill\MainBundle\Form\Type\Select2EntityType
tags:
- {name: form.type, alias: select2_entity }
chill.main.form.type.select2country:
class: Chill\MainBundle\Form\Type\Select2CountryType
tags:
- { name: form.type, alias: select2_chill_country }