popsu_projets.field_group.inc 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. <?php
  2. /**
  3. * @file
  4. * popsu_projets.field_group.inc
  5. */
  6. /**
  7. * Implements hook_field_group_info().
  8. */
  9. function popsu_projets_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_projet_acteurs|node|popsu_projet|form';
  15. $field_group->group_name = 'group_popsu_projet_acteurs';
  16. $field_group->entity_type = 'node';
  17. $field_group->bundle = 'popsu_projet';
  18. $field_group->mode = 'form';
  19. $field_group->parent_name = '';
  20. $field_group->data = array(
  21. 'label' => 'Acteurs',
  22. 'weight' => '8',
  23. 'children' => array(
  24. 0 => 'field_popsu_projet_acteurs',
  25. ),
  26. 'format_type' => 'tab',
  27. 'format_settings' => array(
  28. 'formatter' => 'closed',
  29. 'instance_settings' => array(
  30. 'description' => '',
  31. 'classes' => '',
  32. 'required_fields' => 1,
  33. ),
  34. ),
  35. );
  36. $export['group_popsu_projet_acteurs|node|popsu_projet|form'] = $field_group;
  37. $field_group = new stdClass();
  38. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  39. $field_group->api_version = 1;
  40. $field_group->identifier = 'group_popsu_projet_adresse|node|popsu_projet|form';
  41. $field_group->group_name = 'group_popsu_projet_adresse';
  42. $field_group->entity_type = 'node';
  43. $field_group->bundle = 'popsu_projet';
  44. $field_group->mode = 'form';
  45. $field_group->parent_name = '';
  46. $field_group->data = array(
  47. 'label' => 'Localisation du projet',
  48. 'weight' => '9',
  49. 'children' => array(
  50. 0 => 'field_popsu_projet_adresse',
  51. 1 => 'field_popsu_projet_geoloc',
  52. ),
  53. 'format_type' => 'tab',
  54. 'format_settings' => array(
  55. 'label' => 'Localisation du projet',
  56. 'instance_settings' => array(
  57. 'required_fields' => 1,
  58. 'classes' => '',
  59. 'description' => '',
  60. ),
  61. 'formatter' => 'closed',
  62. ),
  63. );
  64. $export['group_popsu_projet_adresse|node|popsu_projet|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_projet_basic|node|popsu_projet|form';
  69. $field_group->group_name = 'group_popsu_projet_basic';
  70. $field_group->entity_type = 'node';
  71. $field_group->bundle = 'popsu_projet';
  72. $field_group->mode = 'form';
  73. $field_group->parent_name = '';
  74. $field_group->data = array(
  75. 'label' => 'Informations essentielles',
  76. 'weight' => '3',
  77. 'children' => array(
  78. 0 => 'field_popsu_projet_commune',
  79. 1 => 'title',
  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_projet_basic|node|popsu_projet|form'] = $field_group;
  92. $field_group = new stdClass();
  93. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  94. $field_group->api_version = 1;
  95. $field_group->identifier = 'group_popsu_projet_chronologie|node|popsu_projet|form';
  96. $field_group->group_name = 'group_popsu_projet_chronologie';
  97. $field_group->entity_type = 'node';
  98. $field_group->bundle = 'popsu_projet';
  99. $field_group->mode = 'form';
  100. $field_group->parent_name = '';
  101. $field_group->data = array(
  102. 'label' => 'Chronologie',
  103. 'weight' => '6',
  104. 'children' => array(
  105. 0 => 'field_popsu_projet_demarche',
  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_projet_chronologie|node|popsu_projet|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_projet_images|node|popsu_projet|form';
  122. $field_group->group_name = 'group_popsu_projet_images';
  123. $field_group->entity_type = 'node';
  124. $field_group->bundle = 'popsu_projet';
  125. $field_group->mode = 'form';
  126. $field_group->parent_name = '';
  127. $field_group->data = array(
  128. 'label' => 'Images',
  129. 'weight' => '10',
  130. 'children' => array(
  131. 0 => 'field_popsu_projet_imageintro',
  132. 1 => 'field_popsu_projet_imagelocalise',
  133. ),
  134. 'format_type' => 'tab',
  135. 'format_settings' => array(
  136. 'formatter' => 'closed',
  137. 'instance_settings' => array(
  138. 'description' => '',
  139. 'classes' => '',
  140. 'required_fields' => 1,
  141. ),
  142. ),
  143. );
  144. $export['group_popsu_projet_images|node|popsu_projet|form'] = $field_group;
  145. $field_group = new stdClass();
  146. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  147. $field_group->api_version = 1;
  148. $field_group->identifier = 'group_popsu_projet_intro|node|popsu_projet|form';
  149. $field_group->group_name = 'group_popsu_projet_intro';
  150. $field_group->entity_type = 'node';
  151. $field_group->bundle = 'popsu_projet';
  152. $field_group->mode = 'form';
  153. $field_group->parent_name = '';
  154. $field_group->data = array(
  155. 'label' => 'Introduction',
  156. 'weight' => '4',
  157. 'children' => array(
  158. 0 => 'field_popsu_projet_presentation',
  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_projet_intro|node|popsu_projet|form'] = $field_group;
  171. $field_group = new stdClass();
  172. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  173. $field_group->api_version = 1;
  174. $field_group->identifier = 'group_popsu_projet_lies|node|popsu_projet|form';
  175. $field_group->group_name = 'group_popsu_projet_lies';
  176. $field_group->entity_type = 'node';
  177. $field_group->bundle = 'popsu_projet';
  178. $field_group->mode = 'form';
  179. $field_group->parent_name = '';
  180. $field_group->data = array(
  181. 'label' => 'Contenus liés',
  182. 'weight' => '11',
  183. 'children' => array(
  184. 0 => 'field_popsu_projet_lies',
  185. 1 => 'field_popsu_projet_comparatif',
  186. ),
  187. 'format_type' => 'tab',
  188. 'format_settings' => array(
  189. 'formatter' => 'closed',
  190. 'instance_settings' => array(
  191. 'description' => '',
  192. 'classes' => '',
  193. 'required_fields' => 1,
  194. ),
  195. ),
  196. );
  197. $export['group_popsu_projet_lies|node|popsu_projet|form'] = $field_group;
  198. $field_group = new stdClass();
  199. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  200. $field_group->api_version = 1;
  201. $field_group->identifier = 'group_popsu_projet_methodo|node|popsu_projet|form';
  202. $field_group->group_name = 'group_popsu_projet_methodo';
  203. $field_group->entity_type = 'node';
  204. $field_group->bundle = 'popsu_projet';
  205. $field_group->mode = 'form';
  206. $field_group->parent_name = '';
  207. $field_group->data = array(
  208. 'label' => 'Démarche & méthodologie',
  209. 'weight' => '5',
  210. 'children' => array(
  211. 0 => 'field_popsu_projet_methodo',
  212. ),
  213. 'format_type' => 'tab',
  214. 'format_settings' => array(
  215. 'formatter' => 'closed',
  216. 'instance_settings' => array(
  217. 'description' => '',
  218. 'classes' => '',
  219. 'required_fields' => 1,
  220. ),
  221. ),
  222. );
  223. $export['group_popsu_projet_methodo|node|popsu_projet|form'] = $field_group;
  224. $field_group = new stdClass();
  225. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  226. $field_group->api_version = 1;
  227. $field_group->identifier = 'group_popsu_projet_programme|node|popsu_projet|form';
  228. $field_group->group_name = 'group_popsu_projet_programme';
  229. $field_group->entity_type = 'node';
  230. $field_group->bundle = 'popsu_projet';
  231. $field_group->mode = 'form';
  232. $field_group->parent_name = '';
  233. $field_group->data = array(
  234. 'label' => 'Programme',
  235. 'weight' => '7',
  236. 'children' => array(
  237. 0 => 'field_popsu_projet_programme',
  238. ),
  239. 'format_type' => 'tab',
  240. 'format_settings' => array(
  241. 'formatter' => 'closed',
  242. 'instance_settings' => array(
  243. 'description' => '',
  244. 'classes' => '',
  245. 'required_fields' => 1,
  246. ),
  247. ),
  248. );
  249. $export['group_popsu_projet_programme|node|popsu_projet|form'] = $field_group;
  250. $field_group = new stdClass();
  251. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  252. $field_group->api_version = 1;
  253. $field_group->identifier = 'group_popsu_projet_title|node|popsu_projet|form';
  254. $field_group->group_name = 'group_popsu_projet_title';
  255. $field_group->entity_type = 'node';
  256. $field_group->bundle = 'popsu_projet';
  257. $field_group->mode = 'form';
  258. $field_group->parent_name = '';
  259. $field_group->data = array(
  260. 'label' => 'Type de contenu "Projet"',
  261. 'weight' => '2',
  262. 'children' => array(),
  263. 'format_type' => 'tabs',
  264. 'format_settings' => array(
  265. 'formatter' => '',
  266. 'instance_settings' => array(
  267. 'classes' => '',
  268. ),
  269. ),
  270. );
  271. $export['group_popsu_projet_title|node|popsu_projet|form'] = $field_group;
  272. return $export;
  273. }