123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- /**
- * @file
- * popsu_pages.field_group.inc
- */
- /**
- * Implements hook_field_group_info().
- */
- function popsu_pages_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_page_text|node|popsu_page|form';
- $field_group->group_name = 'group_popsu_page_text';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_page';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Contenu',
- 'weight' => '1',
- 'children' => array(
- 0 => 'field_popsu_page_body',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'label' => 'Contenu',
- 'instance_settings' => array(
- 'required_fields' => 1,
- 'classes' => '',
- 'description' => '',
- ),
- 'formatter' => 'closed',
- ),
- );
- $export['group_popsu_page_text|node|popsu_page|form'] = $field_group;
- return $export;
- }
|