popsu_actualites.field_group.inc 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?php
  2. /**
  3. * @file
  4. * popsu_actualites.field_group.inc
  5. */
  6. /**
  7. * Implements hook_field_group_info().
  8. */
  9. function popsu_actualites_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_actu_basic|node|popsu_actu|form';
  15. $field_group->group_name = 'group_popsu_actu_basic';
  16. $field_group->entity_type = 'node';
  17. $field_group->bundle = 'popsu_actu';
  18. $field_group->mode = 'form';
  19. $field_group->parent_name = '';
  20. $field_group->data = array(
  21. 'label' => 'Informations essentielles',
  22. 'weight' => '0',
  23. 'children' => array(
  24. 0 => 'field_popsu_actu_date',
  25. 1 => 'field_popsu_actu_soustitre',
  26. 2 => 'field_popsu_actu_date_fin',
  27. 3 => 'title',
  28. ),
  29. 'format_type' => 'tab',
  30. 'format_settings' => array(
  31. 'formatter' => 'closed',
  32. 'instance_settings' => array(
  33. 'description' => '',
  34. 'classes' => '',
  35. 'required_fields' => 1,
  36. ),
  37. ),
  38. );
  39. $export['group_popsu_actu_basic|node|popsu_actu|form'] = $field_group;
  40. $field_group = new stdClass();
  41. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  42. $field_group->api_version = 1;
  43. $field_group->identifier = 'group_popsu_actu_image|node|popsu_actu|form';
  44. $field_group->group_name = 'group_popsu_actu_image';
  45. $field_group->entity_type = 'node';
  46. $field_group->bundle = 'popsu_actu';
  47. $field_group->mode = 'form';
  48. $field_group->parent_name = '';
  49. $field_group->data = array(
  50. 'label' => 'Image',
  51. 'weight' => '2',
  52. 'children' => array(
  53. 0 => 'field_popsu_actu_image',
  54. ),
  55. 'format_type' => 'tab',
  56. 'format_settings' => array(
  57. 'formatter' => 'closed',
  58. 'instance_settings' => array(
  59. 'description' => '',
  60. 'classes' => '',
  61. 'required_fields' => 1,
  62. ),
  63. ),
  64. );
  65. $export['group_popsu_actu_image|node|popsu_actu|form'] = $field_group;
  66. $field_group = new stdClass();
  67. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  68. $field_group->api_version = 1;
  69. $field_group->identifier = 'group_popsu_actu_texte|node|popsu_actu|form';
  70. $field_group->group_name = 'group_popsu_actu_texte';
  71. $field_group->entity_type = 'node';
  72. $field_group->bundle = 'popsu_actu';
  73. $field_group->mode = 'form';
  74. $field_group->parent_name = '';
  75. $field_group->data = array(
  76. 'label' => 'Texte',
  77. 'weight' => '1',
  78. 'children' => array(
  79. 0 => 'field_popsu_actu_body',
  80. ),
  81. 'format_type' => 'tab',
  82. 'format_settings' => array(
  83. 'formatter' => 'closed',
  84. 'instance_settings' => array(
  85. 'description' => '',
  86. 'classes' => '',
  87. 'required_fields' => 1,
  88. ),
  89. ),
  90. );
  91. $export['group_popsu_actu_texte|node|popsu_actu|form'] = $field_group;
  92. return $export;
  93. }