added accriche field to Chapters
This commit is contained in:
@@ -26,6 +26,8 @@ function chapitre_field_group_info() {
|
||||
0 => 'field_dbatre',
|
||||
1 => 'field_agir',
|
||||
2 => 'field_comprendre',
|
||||
3 => 'field_partager',
|
||||
4 => 'field_accroche',
|
||||
),
|
||||
'format_type' => 'htab',
|
||||
'format_settings' => array(
|
||||
@@ -94,5 +96,35 @@ function chapitre_field_group_info() {
|
||||
);
|
||||
$export['group_parties|node|chapitre|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
$field_group->api_version = 1;
|
||||
$field_group->identifier = 'group_texts|field_collection_item|field_partie|form';
|
||||
$field_group->group_name = 'group_texts';
|
||||
$field_group->entity_type = 'field_collection_item';
|
||||
$field_group->bundle = 'field_partie';
|
||||
$field_group->mode = 'form';
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'texts',
|
||||
'weight' => '1',
|
||||
'children' => array(
|
||||
0 => 'field_description',
|
||||
1 => 'field_titre',
|
||||
2 => 'field_sous_titre',
|
||||
),
|
||||
'format_type' => 'html5',
|
||||
'format_settings' => array(
|
||||
'label' => 'texts',
|
||||
'instance_settings' => array(
|
||||
'id' => '',
|
||||
'classes' => 'group-texts',
|
||||
'wrapper' => 'section',
|
||||
),
|
||||
'formatter' => '',
|
||||
),
|
||||
);
|
||||
$export['group_texts|field_collection_item|field_partie|form'] = $field_group;
|
||||
|
||||
return $export;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user