popsu_pages.field_group.inc 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * @file
  4. * popsu_pages.field_group.inc
  5. */
  6. /**
  7. * Implements hook_field_group_info().
  8. */
  9. function popsu_pages_field_group_info() {
  10. $export = array();
  11. $field_group = new stdClass();
  12. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  13. $field_group->api_version = 1;
  14. $field_group->identifier = 'group_popsu_page_text|node|popsu_page|form';
  15. $field_group->group_name = 'group_popsu_page_text';
  16. $field_group->entity_type = 'node';
  17. $field_group->bundle = 'popsu_page';
  18. $field_group->mode = 'form';
  19. $field_group->parent_name = '';
  20. $field_group->data = array(
  21. 'label' => 'Contenu',
  22. 'weight' => '1',
  23. 'children' => array(
  24. 0 => 'field_popsu_page_body',
  25. ),
  26. 'format_type' => 'tab',
  27. 'format_settings' => array(
  28. 'label' => 'Contenu',
  29. 'instance_settings' => array(
  30. 'required_fields' => 1,
  31. 'classes' => '',
  32. 'description' => '',
  33. ),
  34. 'formatter' => 'closed',
  35. ),
  36. );
  37. $export['group_popsu_page_text|node|popsu_page|form'] = $field_group;
  38. return $export;
  39. }