clameurs.field_group.inc 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701
  1. <?php
  2. /**
  3. * @file
  4. * clameurs.field_group.inc
  5. */
  6. /**
  7. * Implements hook_field_group_info().
  8. */
  9. function clameurs_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_body|node|thematique|teaser';
  15. $field_group->group_name = 'group_body';
  16. $field_group->entity_type = 'node';
  17. $field_group->bundle = 'thematique';
  18. $field_group->mode = 'teaser';
  19. $field_group->parent_name = '';
  20. $field_group->data = array(
  21. 'label' => 'Body',
  22. 'weight' => '0',
  23. 'children' => array(
  24. 0 => 'body',
  25. ),
  26. 'format_type' => 'html5',
  27. 'format_settings' => array(
  28. 'label' => 'Body',
  29. 'instance_settings' => array(
  30. 'id' => '',
  31. 'classes' => 'group-body field-group-html5',
  32. 'wrapper' => 'section',
  33. ),
  34. ),
  35. );
  36. $field_groups['group_body|node|thematique|teaser'] = $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_bottom|node|thematique|accueil';
  41. $field_group->group_name = 'group_bottom';
  42. $field_group->entity_type = 'node';
  43. $field_group->bundle = 'thematique';
  44. $field_group->mode = 'accueil';
  45. $field_group->parent_name = '';
  46. $field_group->data = array(
  47. 'label' => 'bottom',
  48. 'weight' => '2',
  49. 'children' => array(
  50. 0 => 'field_episodes',
  51. ),
  52. 'format_type' => 'html5',
  53. 'format_settings' => array(
  54. 'label' => 'bottom',
  55. 'instance_settings' => array(
  56. 'id' => '',
  57. 'classes' => 'bottom',
  58. 'wrapper' => 'aside',
  59. ),
  60. ),
  61. );
  62. $field_groups['group_bottom|node|thematique|accueil'] = $field_group;
  63. $field_group = new stdClass();
  64. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  65. $field_group->api_version = 1;
  66. $field_group->identifier = 'group_description|node|thematique|accueil';
  67. $field_group->group_name = 'group_description';
  68. $field_group->entity_type = 'node';
  69. $field_group->bundle = 'thematique';
  70. $field_group->mode = 'accueil';
  71. $field_group->parent_name = 'group_video';
  72. $field_group->data = array(
  73. 'label' => 'description',
  74. 'weight' => '9',
  75. 'children' => array(
  76. 0 => 'field_description',
  77. 1 => 'field_ecouter',
  78. ),
  79. 'format_type' => 'div',
  80. 'format_settings' => array(
  81. 'label' => 'description',
  82. 'instance_settings' => array(
  83. 'id' => '',
  84. 'classes' => 'group-description field-group-div',
  85. 'description' => '',
  86. 'show_label' => '0',
  87. 'label_element' => 'h3',
  88. 'effect' => 'none',
  89. 'speed' => 'fast',
  90. ),
  91. 'formatter' => 'open',
  92. ),
  93. );
  94. $field_groups['group_description|node|thematique|accueil'] = $field_group;
  95. $field_group = new stdClass();
  96. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  97. $field_group->api_version = 1;
  98. $field_group->identifier = 'group_eclairage|node|thematique|form';
  99. $field_group->group_name = 'group_eclairage';
  100. $field_group->entity_type = 'node';
  101. $field_group->bundle = 'thematique';
  102. $field_group->mode = 'form';
  103. $field_group->parent_name = 'group_htabs';
  104. $field_group->data = array(
  105. 'label' => 'Éclairages',
  106. 'weight' => '108',
  107. 'children' => array(
  108. 0 => 'field_eclairages',
  109. ),
  110. 'format_type' => 'htab',
  111. 'format_settings' => array(
  112. 'label' => 'Éclairages',
  113. 'instance_settings' => array(
  114. 'required_fields' => 1,
  115. 'classes' => 'group-eclairage field-group-htab',
  116. 'description' => '',
  117. ),
  118. 'formatter' => 'closed',
  119. ),
  120. );
  121. $field_groups['group_eclairage|node|thematique|form'] = $field_group;
  122. $field_group = new stdClass();
  123. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  124. $field_group->api_version = 1;
  125. $field_group->identifier = 'group_episodes|node|thematique|form';
  126. $field_group->group_name = 'group_episodes';
  127. $field_group->entity_type = 'node';
  128. $field_group->bundle = 'thematique';
  129. $field_group->mode = 'form';
  130. $field_group->parent_name = 'group_htabs';
  131. $field_group->data = array(
  132. 'label' => 'Épisodes',
  133. 'weight' => '107',
  134. 'children' => array(
  135. 0 => 'field_episodes',
  136. ),
  137. 'format_type' => 'htab',
  138. 'format_settings' => array(
  139. 'formatter' => 'closed',
  140. 'instance_settings' => array(
  141. 'description' => '',
  142. 'classes' => 'group-episodes field-group-htab',
  143. 'required_fields' => 1,
  144. 'id' => '',
  145. ),
  146. ),
  147. );
  148. $field_groups['group_episodes|node|thematique|form'] = $field_group;
  149. $field_group = new stdClass();
  150. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  151. $field_group->api_version = 1;
  152. $field_group->identifier = 'group_htabs|node|documentair|form';
  153. $field_group->group_name = 'group_htabs';
  154. $field_group->entity_type = 'node';
  155. $field_group->bundle = 'documentair';
  156. $field_group->mode = 'form';
  157. $field_group->parent_name = '';
  158. $field_group->data = array(
  159. 'label' => 'htabs',
  160. 'weight' => '3',
  161. 'children' => array(
  162. 0 => 'group_texte',
  163. 1 => 'group_video',
  164. ),
  165. 'format_type' => 'htabs',
  166. 'format_settings' => array(
  167. 'formatter' => '',
  168. 'instance_settings' => array(
  169. 'classes' => 'group-htabs field-group-htabs',
  170. ),
  171. ),
  172. );
  173. $field_groups['group_htabs|node|documentair|form'] = $field_group;
  174. $field_group = new stdClass();
  175. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  176. $field_group->api_version = 1;
  177. $field_group->identifier = 'group_htabs|node|episode|form';
  178. $field_group->group_name = 'group_htabs';
  179. $field_group->entity_type = 'node';
  180. $field_group->bundle = 'episode';
  181. $field_group->mode = 'form';
  182. $field_group->parent_name = '';
  183. $field_group->data = array(
  184. 'label' => 'htabs',
  185. 'weight' => '3',
  186. 'children' => array(
  187. 0 => 'group_texte',
  188. 1 => 'group_video',
  189. ),
  190. 'format_type' => 'htabs',
  191. 'format_settings' => array(
  192. 'formatter' => '',
  193. 'instance_settings' => array(
  194. 'classes' => 'group-htabs field-group-htabs',
  195. ),
  196. ),
  197. );
  198. $field_groups['group_htabs|node|episode|form'] = $field_group;
  199. $field_group = new stdClass();
  200. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  201. $field_group->api_version = 1;
  202. $field_group->identifier = 'group_htabs|node|thematique|form';
  203. $field_group->group_name = 'group_htabs';
  204. $field_group->entity_type = 'node';
  205. $field_group->bundle = 'thematique';
  206. $field_group->mode = 'form';
  207. $field_group->parent_name = '';
  208. $field_group->data = array(
  209. 'label' => 'htabs',
  210. 'weight' => '2',
  211. 'children' => array(
  212. 0 => 'group_video',
  213. 1 => 'group_texte',
  214. 2 => 'group_episodes',
  215. 3 => 'group_eclairage',
  216. ),
  217. 'format_type' => 'htabs',
  218. 'format_settings' => array(
  219. 'formatter' => '',
  220. 'instance_settings' => array(
  221. 'classes' => 'group-htabs field-group-htabs',
  222. ),
  223. ),
  224. );
  225. $field_groups['group_htabs|node|thematique|form'] = $field_group;
  226. $field_group = new stdClass();
  227. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  228. $field_group->api_version = 1;
  229. $field_group->identifier = 'group_main|node|thematique|accueil';
  230. $field_group->group_name = 'group_main';
  231. $field_group->entity_type = 'node';
  232. $field_group->bundle = 'thematique';
  233. $field_group->mode = 'accueil';
  234. $field_group->parent_name = '';
  235. $field_group->data = array(
  236. 'label' => 'main',
  237. 'weight' => '0',
  238. 'children' => array(
  239. 0 => 'group_txt',
  240. 1 => 'group_video',
  241. ),
  242. 'format_type' => 'html5',
  243. 'format_settings' => array(
  244. 'label' => 'main',
  245. 'instance_settings' => array(
  246. 'id' => '',
  247. 'classes' => 'main',
  248. 'wrapper' => 'article',
  249. ),
  250. ),
  251. );
  252. $field_groups['group_main|node|thematique|accueil'] = $field_group;
  253. $field_group = new stdClass();
  254. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  255. $field_group->api_version = 1;
  256. $field_group->identifier = 'group_right|node|thematique|accueil';
  257. $field_group->group_name = 'group_right';
  258. $field_group->entity_type = 'node';
  259. $field_group->bundle = 'thematique';
  260. $field_group->mode = 'accueil';
  261. $field_group->parent_name = '';
  262. $field_group->data = array(
  263. 'label' => 'right',
  264. 'weight' => '1',
  265. 'children' => array(
  266. 0 => 'field_eclairages',
  267. ),
  268. 'format_type' => 'html5',
  269. 'format_settings' => array(
  270. 'label' => 'right',
  271. 'instance_settings' => array(
  272. 'id' => '',
  273. 'classes' => 'right',
  274. 'wrapper' => 'aside',
  275. ),
  276. ),
  277. );
  278. $field_groups['group_right|node|thematique|accueil'] = $field_group;
  279. $field_group = new stdClass();
  280. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  281. $field_group->api_version = 1;
  282. $field_group->identifier = 'group_texte|node|documentair|form';
  283. $field_group->group_name = 'group_texte';
  284. $field_group->entity_type = 'node';
  285. $field_group->bundle = 'documentair';
  286. $field_group->mode = 'form';
  287. $field_group->parent_name = 'group_htabs';
  288. $field_group->data = array(
  289. 'label' => 'Texte',
  290. 'weight' => '4',
  291. 'children' => array(
  292. 0 => 'body',
  293. ),
  294. 'format_type' => 'htab',
  295. 'format_settings' => array(
  296. 'formatter' => 'closed',
  297. 'instance_settings' => array(
  298. 'description' => '',
  299. 'classes' => 'group-texte field-group-htab',
  300. 'required_fields' => 1,
  301. 'id' => '',
  302. ),
  303. ),
  304. );
  305. $field_groups['group_texte|node|documentair|form'] = $field_group;
  306. $field_group = new stdClass();
  307. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  308. $field_group->api_version = 1;
  309. $field_group->identifier = 'group_texte|node|episode|form';
  310. $field_group->group_name = 'group_texte';
  311. $field_group->entity_type = 'node';
  312. $field_group->bundle = 'episode';
  313. $field_group->mode = 'form';
  314. $field_group->parent_name = 'group_htabs';
  315. $field_group->data = array(
  316. 'label' => 'Texte',
  317. 'weight' => '9',
  318. 'children' => array(
  319. 0 => 'body',
  320. ),
  321. 'format_type' => 'htab',
  322. 'format_settings' => array(
  323. 'formatter' => 'closed',
  324. 'instance_settings' => array(
  325. 'description' => '',
  326. 'classes' => 'group-texte field-group-htab',
  327. 'required_fields' => 1,
  328. 'id' => '',
  329. ),
  330. ),
  331. );
  332. $field_groups['group_texte|node|episode|form'] = $field_group;
  333. $field_group = new stdClass();
  334. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  335. $field_group->api_version = 1;
  336. $field_group->identifier = 'group_texte|node|thematique|form';
  337. $field_group->group_name = 'group_texte';
  338. $field_group->entity_type = 'node';
  339. $field_group->bundle = 'thematique';
  340. $field_group->mode = 'form';
  341. $field_group->parent_name = 'group_htabs';
  342. $field_group->data = array(
  343. 'label' => 'Texte',
  344. 'weight' => '105',
  345. 'children' => array(
  346. 0 => 'body',
  347. ),
  348. 'format_type' => 'fieldset',
  349. 'format_settings' => array(
  350. 'formatter' => 'collapsible',
  351. 'instance_settings' => array(
  352. 'description' => '',
  353. 'classes' => 'group-texte field-group-fieldset',
  354. 'required_fields' => 1,
  355. ),
  356. ),
  357. );
  358. $field_groups['group_texte|node|thematique|form'] = $field_group;
  359. $field_group = new stdClass();
  360. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  361. $field_group->api_version = 1;
  362. $field_group->identifier = 'group_txt|node|documentair|accueil';
  363. $field_group->group_name = 'group_txt';
  364. $field_group->entity_type = 'node';
  365. $field_group->bundle = 'documentair';
  366. $field_group->mode = 'accueil';
  367. $field_group->parent_name = '';
  368. $field_group->data = array(
  369. 'label' => 'txt',
  370. 'weight' => '1',
  371. 'children' => array(
  372. 0 => 'field_doc',
  373. 1 => 'title_field',
  374. ),
  375. 'format_type' => 'div',
  376. 'format_settings' => array(
  377. 'label' => 'txt',
  378. 'instance_settings' => array(
  379. 'id' => '',
  380. 'classes' => 'group-txt field-group-div',
  381. 'description' => '',
  382. 'show_label' => '0',
  383. 'label_element' => 'h3',
  384. 'effect' => 'none',
  385. 'speed' => 'fast',
  386. ),
  387. 'formatter' => 'open',
  388. ),
  389. );
  390. $field_groups['group_txt|node|documentair|accueil'] = $field_group;
  391. $field_group = new stdClass();
  392. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  393. $field_group->api_version = 1;
  394. $field_group->identifier = 'group_txt|node|episode|accueil';
  395. $field_group->group_name = 'group_txt';
  396. $field_group->entity_type = 'node';
  397. $field_group->bundle = 'episode';
  398. $field_group->mode = 'accueil';
  399. $field_group->parent_name = '';
  400. $field_group->data = array(
  401. 'label' => 'txt',
  402. 'weight' => '1',
  403. 'children' => array(
  404. 0 => 'title_field',
  405. ),
  406. 'format_type' => 'div',
  407. 'format_settings' => array(
  408. 'label' => 'txt',
  409. 'instance_settings' => array(
  410. 'id' => '',
  411. 'classes' => 'group-txt field-group-div',
  412. 'description' => '',
  413. 'show_label' => '0',
  414. 'label_element' => 'h3',
  415. 'effect' => 'none',
  416. 'speed' => 'fast',
  417. ),
  418. 'formatter' => 'open',
  419. ),
  420. );
  421. $field_groups['group_txt|node|episode|accueil'] = $field_group;
  422. $field_group = new stdClass();
  423. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  424. $field_group->api_version = 1;
  425. $field_group->identifier = 'group_txt|node|thematique|accueil';
  426. $field_group->group_name = 'group_txt';
  427. $field_group->entity_type = 'node';
  428. $field_group->bundle = 'thematique';
  429. $field_group->mode = 'accueil';
  430. $field_group->parent_name = 'group_main';
  431. $field_group->data = array(
  432. 'label' => 'txt',
  433. 'weight' => '1',
  434. 'children' => array(
  435. 0 => 'body',
  436. ),
  437. 'format_type' => 'div',
  438. 'format_settings' => array(
  439. 'label' => 'txt',
  440. 'instance_settings' => array(
  441. 'id' => '',
  442. 'classes' => 'group-txt field-group-div',
  443. 'description' => '',
  444. 'show_label' => '0',
  445. 'label_element' => 'h3',
  446. 'effect' => 'none',
  447. 'speed' => 'fast',
  448. ),
  449. 'formatter' => 'open',
  450. ),
  451. );
  452. $field_groups['group_txt|node|thematique|accueil'] = $field_group;
  453. $field_group = new stdClass();
  454. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  455. $field_group->api_version = 1;
  456. $field_group->identifier = 'group_video|node|documentair|accueil';
  457. $field_group->group_name = 'group_video';
  458. $field_group->entity_type = 'node';
  459. $field_group->bundle = 'documentair';
  460. $field_group->mode = 'accueil';
  461. $field_group->parent_name = '';
  462. $field_group->data = array(
  463. 'label' => 'video',
  464. 'weight' => '2',
  465. 'children' => array(
  466. 0 => 'field_emvideo',
  467. ),
  468. 'format_type' => 'div',
  469. 'format_settings' => array(
  470. 'label' => 'video',
  471. 'instance_settings' => array(
  472. 'id' => '',
  473. 'classes' => 'group-video field-group-div',
  474. 'description' => '',
  475. 'show_label' => '0',
  476. 'label_element' => 'h3',
  477. 'effect' => 'none',
  478. 'speed' => 'fast',
  479. ),
  480. 'formatter' => 'open',
  481. ),
  482. );
  483. $field_groups['group_video|node|documentair|accueil'] = $field_group;
  484. $field_group = new stdClass();
  485. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  486. $field_group->api_version = 1;
  487. $field_group->identifier = 'group_video|node|documentair|form';
  488. $field_group->group_name = 'group_video';
  489. $field_group->entity_type = 'node';
  490. $field_group->bundle = 'documentair';
  491. $field_group->mode = 'form';
  492. $field_group->parent_name = 'group_htabs';
  493. $field_group->data = array(
  494. 'label' => 'Video',
  495. 'weight' => '5',
  496. 'children' => array(
  497. 0 => 'field_video',
  498. 1 => 'field_description',
  499. 2 => 'field_emvideo',
  500. ),
  501. 'format_type' => 'htab',
  502. 'format_settings' => array(
  503. 'formatter' => 'closed',
  504. 'instance_settings' => array(
  505. 'description' => '',
  506. 'classes' => 'group-video field-group-htab',
  507. 'required_fields' => 1,
  508. 'id' => '',
  509. ),
  510. ),
  511. );
  512. $field_groups['group_video|node|documentair|form'] = $field_group;
  513. $field_group = new stdClass();
  514. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  515. $field_group->api_version = 1;
  516. $field_group->identifier = 'group_video|node|episode|accueil';
  517. $field_group->group_name = 'group_video';
  518. $field_group->entity_type = 'node';
  519. $field_group->bundle = 'episode';
  520. $field_group->mode = 'accueil';
  521. $field_group->parent_name = '';
  522. $field_group->data = array(
  523. 'label' => 'Video',
  524. 'weight' => '2',
  525. 'children' => array(
  526. 0 => 'field_emvideo',
  527. ),
  528. 'format_type' => 'div',
  529. 'format_settings' => array(
  530. 'label' => 'Video',
  531. 'instance_settings' => array(
  532. 'id' => '',
  533. 'classes' => 'group-video field-group-div',
  534. 'description' => '',
  535. 'show_label' => '0',
  536. 'label_element' => 'h3',
  537. 'effect' => 'none',
  538. 'speed' => 'fast',
  539. ),
  540. 'formatter' => 'open',
  541. ),
  542. );
  543. $field_groups['group_video|node|episode|accueil'] = $field_group;
  544. $field_group = new stdClass();
  545. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  546. $field_group->api_version = 1;
  547. $field_group->identifier = 'group_video|node|episode|form';
  548. $field_group->group_name = 'group_video';
  549. $field_group->entity_type = 'node';
  550. $field_group->bundle = 'episode';
  551. $field_group->mode = 'form';
  552. $field_group->parent_name = 'group_htabs';
  553. $field_group->data = array(
  554. 'label' => 'Video',
  555. 'weight' => '10',
  556. 'children' => array(
  557. 0 => 'field_video',
  558. 1 => 'field_description',
  559. 2 => 'field_emvideo',
  560. ),
  561. 'format_type' => 'htab',
  562. 'format_settings' => array(
  563. 'formatter' => 'closed',
  564. 'instance_settings' => array(
  565. 'description' => '',
  566. 'classes' => 'group-video field-group-htab',
  567. 'required_fields' => 1,
  568. 'id' => '',
  569. ),
  570. ),
  571. );
  572. $field_groups['group_video|node|episode|form'] = $field_group;
  573. $field_group = new stdClass();
  574. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  575. $field_group->api_version = 1;
  576. $field_group->identifier = 'group_video|node|thematique|accueil';
  577. $field_group->group_name = 'group_video';
  578. $field_group->entity_type = 'node';
  579. $field_group->bundle = 'thematique';
  580. $field_group->mode = 'accueil';
  581. $field_group->parent_name = 'group_main';
  582. $field_group->data = array(
  583. 'label' => 'video',
  584. 'weight' => '2',
  585. 'children' => array(
  586. 0 => 'field_emvideo',
  587. 1 => 'group_description',
  588. ),
  589. 'format_type' => 'div',
  590. 'format_settings' => array(
  591. 'label' => 'video',
  592. 'instance_settings' => array(
  593. 'id' => '',
  594. 'classes' => 'group-video field-group-div',
  595. 'description' => '',
  596. 'show_label' => '0',
  597. 'label_element' => 'h3',
  598. 'effect' => 'none',
  599. 'speed' => 'fast',
  600. ),
  601. 'formatter' => 'open',
  602. ),
  603. );
  604. $field_groups['group_video|node|thematique|accueil'] = $field_group;
  605. $field_group = new stdClass();
  606. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  607. $field_group->api_version = 1;
  608. $field_group->identifier = 'group_video|node|thematique|form';
  609. $field_group->group_name = 'group_video';
  610. $field_group->entity_type = 'node';
  611. $field_group->bundle = 'thematique';
  612. $field_group->mode = 'form';
  613. $field_group->parent_name = 'group_htabs';
  614. $field_group->data = array(
  615. 'label' => 'Video',
  616. 'weight' => '106',
  617. 'children' => array(
  618. 0 => 'field_description',
  619. 1 => 'field_emvideo',
  620. ),
  621. 'format_type' => 'htab',
  622. 'format_settings' => array(
  623. 'formatter' => 'closed',
  624. 'instance_settings' => array(
  625. 'description' => '',
  626. 'classes' => 'group-video field-group-htab',
  627. 'required_fields' => 1,
  628. 'id' => '',
  629. ),
  630. ),
  631. );
  632. $field_groups['group_video|node|thematique|form'] = $field_group;
  633. $field_group = new stdClass();
  634. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  635. $field_group->api_version = 1;
  636. $field_group->identifier = 'group_video|node|thematique|teaser';
  637. $field_group->group_name = 'group_video';
  638. $field_group->entity_type = 'node';
  639. $field_group->bundle = 'thematique';
  640. $field_group->mode = 'teaser';
  641. $field_group->parent_name = '';
  642. $field_group->data = array(
  643. 'label' => 'video',
  644. 'weight' => '1',
  645. 'children' => array(
  646. 0 => 'field_description',
  647. 1 => 'field_emvideo',
  648. ),
  649. 'format_type' => 'html5',
  650. 'format_settings' => array(
  651. 'formatter' => '',
  652. 'instance_settings' => array(
  653. 'wrapper' => '',
  654. 'classes' => 'group-video field-group-html5',
  655. 'id' => '',
  656. ),
  657. ),
  658. );
  659. $field_groups['group_video|node|thematique|teaser'] = $field_group;
  660. // Translatables
  661. // Included for use with string extractors like potx.
  662. t('Body');
  663. t('Texte');
  664. t('Video');
  665. t('bottom');
  666. t('description');
  667. t('htabs');
  668. t('main');
  669. t('right');
  670. t('txt');
  671. t('video');
  672. t('Éclairages');
  673. t('Épisodes');
  674. return $field_groups;
  675. }