popsu_villes.field_group.inc 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <?php
  2. /**
  3. * @file
  4. * popsu_villes.field_group.inc
  5. */
  6. /**
  7. * Implements hook_field_group_info().
  8. */
  9. function popsu_villes_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_ville_basic|node|popsu_ville|form';
  15. $field_group->group_name = 'group_popsu_ville_basic';
  16. $field_group->entity_type = 'node';
  17. $field_group->bundle = 'popsu_ville';
  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_ville_popsu',
  25. 1 => 'field_popsu_ville_ville',
  26. 2 => 'title',
  27. ),
  28. 'format_type' => 'tab',
  29. 'format_settings' => array(
  30. 'formatter' => 'closed',
  31. 'instance_settings' => array(
  32. 'description' => '',
  33. 'classes' => '',
  34. 'required_fields' => 1,
  35. ),
  36. ),
  37. );
  38. $export['group_popsu_ville_basic|node|popsu_ville|form'] = $field_group;
  39. $field_group = new stdClass();
  40. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  41. $field_group->api_version = 1;
  42. $field_group->identifier = 'group_popsu_ville_coordo|node|popsu_ville|form';
  43. $field_group->group_name = 'group_popsu_ville_coordo';
  44. $field_group->entity_type = 'node';
  45. $field_group->bundle = 'popsu_ville';
  46. $field_group->mode = 'form';
  47. $field_group->parent_name = '';
  48. $field_group->data = array(
  49. 'label' => 'Coordinateur(s)',
  50. 'weight' => '3',
  51. 'children' => array(
  52. 0 => 'field_popsu_ville_coordinateur',
  53. ),
  54. 'format_type' => 'tab',
  55. 'format_settings' => array(
  56. 'formatter' => 'closed',
  57. 'instance_settings' => array(
  58. 'description' => '',
  59. 'classes' => '',
  60. 'required_fields' => 1,
  61. ),
  62. ),
  63. );
  64. $export['group_popsu_ville_coordo|node|popsu_ville|form'] = $field_group;
  65. $field_group = new stdClass();
  66. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  67. $field_group->api_version = 1;
  68. $field_group->identifier = 'group_popsu_ville_equipe|node|popsu_ville|form';
  69. $field_group->group_name = 'group_popsu_ville_equipe';
  70. $field_group->entity_type = 'node';
  71. $field_group->bundle = 'popsu_ville';
  72. $field_group->mode = 'form';
  73. $field_group->parent_name = '';
  74. $field_group->data = array(
  75. 'label' => 'Equipe',
  76. 'weight' => '2',
  77. 'children' => array(
  78. 0 => 'field_popsu_ville_equipe',
  79. ),
  80. 'format_type' => 'tab',
  81. 'format_settings' => array(
  82. 'formatter' => 'closed',
  83. 'instance_settings' => array(
  84. 'description' => '',
  85. 'classes' => '',
  86. 'required_fields' => 1,
  87. ),
  88. ),
  89. );
  90. $export['group_popsu_ville_equipe|node|popsu_ville|form'] = $field_group;
  91. $field_group = new stdClass();
  92. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  93. $field_group->api_version = 1;
  94. $field_group->identifier = 'group_popsu_ville_images|node|popsu_ville|form';
  95. $field_group->group_name = 'group_popsu_ville_images';
  96. $field_group->entity_type = 'node';
  97. $field_group->bundle = 'popsu_ville';
  98. $field_group->mode = 'form';
  99. $field_group->parent_name = '';
  100. $field_group->data = array(
  101. 'label' => 'Images',
  102. 'weight' => '4',
  103. 'children' => array(
  104. 0 => 'field_popsu_ville_images_illustr',
  105. 1 => 'field_popsu_ville_images_small',
  106. ),
  107. 'format_type' => 'tab',
  108. 'format_settings' => array(
  109. 'formatter' => 'closed',
  110. 'instance_settings' => array(
  111. 'description' => '',
  112. 'classes' => '',
  113. 'required_fields' => 1,
  114. ),
  115. ),
  116. );
  117. $export['group_popsu_ville_images|node|popsu_ville|form'] = $field_group;
  118. $field_group = new stdClass();
  119. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  120. $field_group->api_version = 1;
  121. $field_group->identifier = 'group_popsu_ville_intro|node|popsu_ville|form';
  122. $field_group->group_name = 'group_popsu_ville_intro';
  123. $field_group->entity_type = 'node';
  124. $field_group->bundle = 'popsu_ville';
  125. $field_group->mode = 'form';
  126. $field_group->parent_name = '';
  127. $field_group->data = array(
  128. 'label' => 'Introduction',
  129. 'weight' => '1',
  130. 'children' => array(
  131. 0 => 'field_popsu_ville_body',
  132. ),
  133. 'format_type' => 'tab',
  134. 'format_settings' => array(
  135. 'formatter' => 'closed',
  136. 'instance_settings' => array(
  137. 'description' => '',
  138. 'classes' => '',
  139. 'required_fields' => 1,
  140. ),
  141. ),
  142. );
  143. $export['group_popsu_ville_intro|node|popsu_ville|form'] = $field_group;
  144. $field_group = new stdClass();
  145. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  146. $field_group->api_version = 1;
  147. $field_group->identifier = 'group_popsu_ville_partenaires|node|popsu_ville|form';
  148. $field_group->group_name = 'group_popsu_ville_partenaires';
  149. $field_group->entity_type = 'node';
  150. $field_group->bundle = 'popsu_ville';
  151. $field_group->mode = 'form';
  152. $field_group->parent_name = '';
  153. $field_group->data = array(
  154. 'label' => 'Partenaires',
  155. 'weight' => '5',
  156. 'children' => array(
  157. 0 => 'field_popsu_ville_partenairestxt',
  158. 1 => 'field_popsu_ville_partenairesimg',
  159. ),
  160. 'format_type' => 'tab',
  161. 'format_settings' => array(
  162. 'formatter' => 'closed',
  163. 'instance_settings' => array(
  164. 'description' => '',
  165. 'classes' => '',
  166. 'required_fields' => 1,
  167. ),
  168. ),
  169. );
  170. $export['group_popsu_ville_partenaires|node|popsu_ville|form'] = $field_group;
  171. return $export;
  172. }