1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- /**
- * @file
- * popsu_actualites.field_group.inc
- */
- /**
- * Implements hook_field_group_info().
- */
- function popsu_actualites_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_actu_basic|node|popsu_actu|form';
- $field_group->group_name = 'group_popsu_actu_basic';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_actu';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Informations essentielles',
- 'weight' => '0',
- 'children' => array(
- 0 => 'field_popsu_actu_date',
- 1 => 'field_popsu_actu_soustitre',
- 2 => 'field_popsu_actu_date_fin',
- 3 => 'title',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_actu_basic|node|popsu_actu|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_actu_image|node|popsu_actu|form';
- $field_group->group_name = 'group_popsu_actu_image';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_actu';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Image',
- 'weight' => '2',
- 'children' => array(
- 0 => 'field_popsu_actu_image',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_actu_image|node|popsu_actu|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_actu_texte|node|popsu_actu|form';
- $field_group->group_name = 'group_popsu_actu_texte';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_actu';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Texte',
- 'weight' => '1',
- 'children' => array(
- 0 => 'field_popsu_actu_body',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_actu_texte|node|popsu_actu|form'] = $field_group;
- return $export;
- }
|