123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- /**
- * @file
- * popsu_documents.field_group.inc
- */
- /**
- * Implements hook_field_group_info().
- */
- function popsu_documents_field_group_info() {
- $export = array();
- $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_popsu_doc_basic|node|popsu_document|form';
- $field_group->group_name = 'group_popsu_doc_basic';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_document';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Informations essentielles',
- 'weight' => '0',
- 'children' => array(
- 0 => 'field_popsu_doc_type',
- 1 => 'field_popsu_doc_files',
- 2 => 'title',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_doc_basic|node|popsu_document|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_popsu_doc_meta|node|popsu_document|form';
- $field_group->group_name = 'group_popsu_doc_meta';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_document';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Fiche descriptive',
- 'weight' => '1',
- 'children' => array(
- 0 => 'field_popsu_doc_body',
- 1 => 'field_popsu_doc_source',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_doc_meta|node|popsu_document|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_popsu_doc_noderef|node|popsu_document|form';
- $field_group->group_name = 'group_popsu_doc_noderef';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_document';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Contenu réferrent',
- 'weight' => '8',
- 'children' => array(),
- 'format_type' => 'fieldset',
- 'format_settings' => array(
- 'formatter' => 'collapsible',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_doc_noderef|node|popsu_document|form'] = $field_group;
- return $export;
- }
|