[wip] layout of custom field edition

[ci skip]
This commit is contained in:
2015-11-25 08:45:17 +01:00
parent cbcc722c0d
commit b96076022f
5 changed files with 62 additions and 14 deletions

View File

@@ -136,7 +136,8 @@ class CustomFieldChoice implements CustomFieldInterface
'choices' => array(
1 => 'Multiple',
0 => 'Unique'),
'empty_data' => 0
'empty_data' => 0,
'label' => 'Multiplicity'
))
->add(self::EXPANDED, 'choice', array(
'expanded' => true,
@@ -144,7 +145,8 @@ class CustomFieldChoice implements CustomFieldInterface
'choices' => array(
1 => 'Expanded',
0 => 'Non expanded'),
'empty_data' => 0
'empty_data' => 0,
'label' => 'Choice display'
))
->add(self::ALLOW_OTHER, 'choice', array(
'label' => 'Allow other',