showroom.field_group.inc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /**
  3. * @file
  4. * showroom.field_group.inc
  5. */
  6. /**
  7. * Implements hook_field_group_info().
  8. */
  9. function showroom_field_group_info() {
  10. $field_groups = 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_showroom|node|materiau|form';
  15. $field_group->group_name = 'group_showroom';
  16. $field_group->entity_type = 'node';
  17. $field_group->bundle = 'materiau';
  18. $field_group->mode = 'form';
  19. $field_group->parent_name = 'group_htabs';
  20. $field_group->data = array(
  21. 'label' => 'Showroom',
  22. 'weight' => '17',
  23. 'children' => array(
  24. 0 => 'field_localisation',
  25. 1 => 'field_location',
  26. ),
  27. 'format_type' => 'htab',
  28. 'format_settings' => array(
  29. 'formatter' => 'closed',
  30. 'instance_settings' => array(
  31. 'description' => '',
  32. 'classes' => 'group-showroom field-group-htab',
  33. 'required_fields' => 1,
  34. ),
  35. ),
  36. );
  37. $field_groups['group_showroom|node|materiau|form'] = $field_group;
  38. // Translatables
  39. // Included for use with string extractors like potx.
  40. t('Showroom');
  41. return $field_groups;
  42. }