clameurs.field_group.inc 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  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_video',
  163. ),
  164. 'format_type' => 'htabs',
  165. 'format_settings' => array(
  166. 'formatter' => '',
  167. 'instance_settings' => array(
  168. 'classes' => 'group-htabs field-group-htabs',
  169. ),
  170. ),
  171. );
  172. $field_groups['group_htabs|node|documentair|form'] = $field_group;
  173. $field_group = new stdClass();
  174. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  175. $field_group->api_version = 1;
  176. $field_group->identifier = 'group_htabs|node|episode|form';
  177. $field_group->group_name = 'group_htabs';
  178. $field_group->entity_type = 'node';
  179. $field_group->bundle = 'episode';
  180. $field_group->mode = 'form';
  181. $field_group->parent_name = '';
  182. $field_group->data = array(
  183. 'label' => 'htabs',
  184. 'weight' => '3',
  185. 'children' => array(
  186. 0 => 'group_video',
  187. ),
  188. 'format_type' => 'htabs',
  189. 'format_settings' => array(
  190. 'formatter' => '',
  191. 'instance_settings' => array(
  192. 'classes' => 'group-htabs field-group-htabs',
  193. ),
  194. ),
  195. );
  196. $field_groups['group_htabs|node|episode|form'] = $field_group;
  197. $field_group = new stdClass();
  198. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  199. $field_group->api_version = 1;
  200. $field_group->identifier = 'group_htabs|node|thematique|form';
  201. $field_group->group_name = 'group_htabs';
  202. $field_group->entity_type = 'node';
  203. $field_group->bundle = 'thematique';
  204. $field_group->mode = 'form';
  205. $field_group->parent_name = '';
  206. $field_group->data = array(
  207. 'label' => 'htabs',
  208. 'weight' => '2',
  209. 'children' => array(
  210. 0 => 'group_eclairage',
  211. 1 => 'group_episodes',
  212. 2 => 'group_texte',
  213. 3 => 'group_video',
  214. ),
  215. 'format_type' => 'htabs',
  216. 'format_settings' => array(
  217. 'formatter' => '',
  218. 'instance_settings' => array(
  219. 'classes' => 'group-htabs field-group-htabs',
  220. ),
  221. ),
  222. );
  223. $field_groups['group_htabs|node|thematique|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_main|node|thematique|accueil';
  228. $field_group->group_name = 'group_main';
  229. $field_group->entity_type = 'node';
  230. $field_group->bundle = 'thematique';
  231. $field_group->mode = 'accueil';
  232. $field_group->parent_name = '';
  233. $field_group->data = array(
  234. 'label' => 'main',
  235. 'weight' => '0',
  236. 'children' => array(
  237. 0 => 'group_txt',
  238. 1 => 'group_video',
  239. ),
  240. 'format_type' => 'html5',
  241. 'format_settings' => array(
  242. 'label' => 'main',
  243. 'instance_settings' => array(
  244. 'id' => '',
  245. 'classes' => 'main',
  246. 'wrapper' => 'article',
  247. ),
  248. ),
  249. );
  250. $field_groups['group_main|node|thematique|accueil'] = $field_group;
  251. $field_group = new stdClass();
  252. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  253. $field_group->api_version = 1;
  254. $field_group->identifier = 'group_main|node|thematique|attente';
  255. $field_group->group_name = 'group_main';
  256. $field_group->entity_type = 'node';
  257. $field_group->bundle = 'thematique';
  258. $field_group->mode = 'attente';
  259. $field_group->parent_name = '';
  260. $field_group->data = array(
  261. 'label' => 'main',
  262. 'weight' => '0',
  263. 'children' => array(
  264. 0 => 'body',
  265. ),
  266. 'format_type' => 'html5',
  267. 'format_settings' => array(
  268. 'label' => 'main',
  269. 'instance_settings' => array(
  270. 'id' => '',
  271. 'classes' => 'main',
  272. 'wrapper' => 'article',
  273. ),
  274. ),
  275. );
  276. $field_groups['group_main|node|thematique|attente'] = $field_group;
  277. $field_group = new stdClass();
  278. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  279. $field_group->api_version = 1;
  280. $field_group->identifier = 'group_right|node|thematique|accueil';
  281. $field_group->group_name = 'group_right';
  282. $field_group->entity_type = 'node';
  283. $field_group->bundle = 'thematique';
  284. $field_group->mode = 'accueil';
  285. $field_group->parent_name = '';
  286. $field_group->data = array(
  287. 'label' => 'right',
  288. 'weight' => '1',
  289. 'children' => array(
  290. 0 => 'field_eclairages',
  291. ),
  292. 'format_type' => 'html5',
  293. 'format_settings' => array(
  294. 'label' => 'right',
  295. 'instance_settings' => array(
  296. 'id' => '',
  297. 'classes' => 'right',
  298. 'wrapper' => 'aside',
  299. ),
  300. ),
  301. );
  302. $field_groups['group_right|node|thematique|accueil'] = $field_group;
  303. $field_group = new stdClass();
  304. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  305. $field_group->api_version = 1;
  306. $field_group->identifier = 'group_texte|node|documentair|form';
  307. $field_group->group_name = 'group_texte';
  308. $field_group->entity_type = 'node';
  309. $field_group->bundle = 'documentair';
  310. $field_group->mode = 'form';
  311. $field_group->parent_name = 'group_htabs';
  312. $field_group->data = array(
  313. 'label' => 'Texte',
  314. 'weight' => '4',
  315. 'children' => array(
  316. 0 => 'body',
  317. ),
  318. 'format_type' => 'htab',
  319. 'format_settings' => array(
  320. 'formatter' => 'closed',
  321. 'instance_settings' => array(
  322. 'description' => '',
  323. 'classes' => 'group-texte field-group-htab',
  324. 'required_fields' => 1,
  325. 'id' => '',
  326. ),
  327. ),
  328. );
  329. $field_groups['group_texte|node|documentair|form'] = $field_group;
  330. $field_group = new stdClass();
  331. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  332. $field_group->api_version = 1;
  333. $field_group->identifier = 'group_texte|node|episode|form';
  334. $field_group->group_name = 'group_texte';
  335. $field_group->entity_type = 'node';
  336. $field_group->bundle = 'episode';
  337. $field_group->mode = 'form';
  338. $field_group->parent_name = 'group_htabs';
  339. $field_group->data = array(
  340. 'label' => 'Texte',
  341. 'weight' => '9',
  342. 'children' => array(
  343. 0 => 'body',
  344. ),
  345. 'format_type' => 'htab',
  346. 'format_settings' => array(
  347. 'formatter' => 'closed',
  348. 'instance_settings' => array(
  349. 'description' => '',
  350. 'classes' => 'group-texte field-group-htab',
  351. 'required_fields' => 1,
  352. 'id' => '',
  353. ),
  354. ),
  355. );
  356. $field_groups['group_texte|node|episode|form'] = $field_group;
  357. $field_group = new stdClass();
  358. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  359. $field_group->api_version = 1;
  360. $field_group->identifier = 'group_texte|node|thematique|form';
  361. $field_group->group_name = 'group_texte';
  362. $field_group->entity_type = 'node';
  363. $field_group->bundle = 'thematique';
  364. $field_group->mode = 'form';
  365. $field_group->parent_name = 'group_htabs';
  366. $field_group->data = array(
  367. 'label' => 'Texte',
  368. 'weight' => '105',
  369. 'children' => array(
  370. 0 => 'body',
  371. ),
  372. 'format_type' => 'fieldset',
  373. 'format_settings' => array(
  374. 'formatter' => 'collapsible',
  375. 'instance_settings' => array(
  376. 'description' => '',
  377. 'classes' => 'group-texte field-group-fieldset',
  378. 'required_fields' => 1,
  379. ),
  380. ),
  381. );
  382. $field_groups['group_texte|node|thematique|form'] = $field_group;
  383. $field_group = new stdClass();
  384. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  385. $field_group->api_version = 1;
  386. $field_group->identifier = 'group_txt|node|documentair|accueil';
  387. $field_group->group_name = 'group_txt';
  388. $field_group->entity_type = 'node';
  389. $field_group->bundle = 'documentair';
  390. $field_group->mode = 'accueil';
  391. $field_group->parent_name = '';
  392. $field_group->data = array(
  393. 'label' => 'txt',
  394. 'weight' => '1',
  395. 'children' => array(
  396. 0 => 'field_doc',
  397. 1 => 'title_field',
  398. ),
  399. 'format_type' => 'div',
  400. 'format_settings' => array(
  401. 'label' => 'txt',
  402. 'instance_settings' => array(
  403. 'id' => '',
  404. 'classes' => 'group-txt field-group-div',
  405. 'description' => '',
  406. 'show_label' => '0',
  407. 'label_element' => 'h3',
  408. 'effect' => 'none',
  409. 'speed' => 'fast',
  410. ),
  411. 'formatter' => 'open',
  412. ),
  413. );
  414. $field_groups['group_txt|node|documentair|accueil'] = $field_group;
  415. $field_group = new stdClass();
  416. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  417. $field_group->api_version = 1;
  418. $field_group->identifier = 'group_txt|node|episode|accueil';
  419. $field_group->group_name = 'group_txt';
  420. $field_group->entity_type = 'node';
  421. $field_group->bundle = 'episode';
  422. $field_group->mode = 'accueil';
  423. $field_group->parent_name = '';
  424. $field_group->data = array(
  425. 'label' => 'txt',
  426. 'weight' => '1',
  427. 'children' => array(
  428. 0 => 'title_field',
  429. ),
  430. 'format_type' => 'div',
  431. 'format_settings' => array(
  432. 'label' => 'txt',
  433. 'instance_settings' => array(
  434. 'id' => '',
  435. 'classes' => 'group-txt field-group-div',
  436. 'description' => '',
  437. 'show_label' => '0',
  438. 'label_element' => 'h3',
  439. 'effect' => 'none',
  440. 'speed' => 'fast',
  441. ),
  442. 'formatter' => 'open',
  443. ),
  444. );
  445. $field_groups['group_txt|node|episode|accueil'] = $field_group;
  446. $field_group = new stdClass();
  447. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  448. $field_group->api_version = 1;
  449. $field_group->identifier = 'group_txt|node|thematique|accueil';
  450. $field_group->group_name = 'group_txt';
  451. $field_group->entity_type = 'node';
  452. $field_group->bundle = 'thematique';
  453. $field_group->mode = 'accueil';
  454. $field_group->parent_name = 'group_main';
  455. $field_group->data = array(
  456. 'label' => 'txt',
  457. 'weight' => '1',
  458. 'children' => array(
  459. 0 => 'body',
  460. ),
  461. 'format_type' => 'div',
  462. 'format_settings' => array(
  463. 'label' => 'txt',
  464. 'instance_settings' => array(
  465. 'id' => '',
  466. 'classes' => 'group-txt field-group-div',
  467. 'description' => '',
  468. 'show_label' => '0',
  469. 'label_element' => 'h3',
  470. 'effect' => 'none',
  471. 'speed' => 'fast',
  472. ),
  473. 'formatter' => 'open',
  474. ),
  475. );
  476. $field_groups['group_txt|node|thematique|accueil'] = $field_group;
  477. $field_group = new stdClass();
  478. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  479. $field_group->api_version = 1;
  480. $field_group->identifier = 'group_video|node|documentair|accueil';
  481. $field_group->group_name = 'group_video';
  482. $field_group->entity_type = 'node';
  483. $field_group->bundle = 'documentair';
  484. $field_group->mode = 'accueil';
  485. $field_group->parent_name = '';
  486. $field_group->data = array(
  487. 'label' => 'video',
  488. 'weight' => '2',
  489. 'children' => array(
  490. 0 => 'field_emvideo',
  491. ),
  492. 'format_type' => 'div',
  493. 'format_settings' => array(
  494. 'label' => 'video',
  495. 'instance_settings' => array(
  496. 'id' => '',
  497. 'classes' => 'group-video field-group-div',
  498. 'description' => '',
  499. 'show_label' => '0',
  500. 'label_element' => 'h3',
  501. 'effect' => 'none',
  502. 'speed' => 'fast',
  503. ),
  504. 'formatter' => 'open',
  505. ),
  506. );
  507. $field_groups['group_video|node|documentair|accueil'] = $field_group;
  508. $field_group = new stdClass();
  509. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  510. $field_group->api_version = 1;
  511. $field_group->identifier = 'group_video|node|documentair|form';
  512. $field_group->group_name = 'group_video';
  513. $field_group->entity_type = 'node';
  514. $field_group->bundle = 'documentair';
  515. $field_group->mode = 'form';
  516. $field_group->parent_name = 'group_htabs';
  517. $field_group->data = array(
  518. 'label' => 'Video',
  519. 'weight' => '5',
  520. 'children' => array(
  521. 0 => 'field_emvideo',
  522. 1 => 'field_vignette',
  523. ),
  524. 'format_type' => 'htab',
  525. 'format_settings' => array(
  526. 'formatter' => 'closed',
  527. 'instance_settings' => array(
  528. 'description' => '',
  529. 'classes' => 'group-video field-group-htab',
  530. 'required_fields' => 1,
  531. 'id' => '',
  532. ),
  533. ),
  534. );
  535. $field_groups['group_video|node|documentair|form'] = $field_group;
  536. $field_group = new stdClass();
  537. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  538. $field_group->api_version = 1;
  539. $field_group->identifier = 'group_video|node|episode|accueil';
  540. $field_group->group_name = 'group_video';
  541. $field_group->entity_type = 'node';
  542. $field_group->bundle = 'episode';
  543. $field_group->mode = 'accueil';
  544. $field_group->parent_name = '';
  545. $field_group->data = array(
  546. 'label' => 'Video',
  547. 'weight' => '2',
  548. 'children' => array(
  549. 0 => 'field_emvideo',
  550. ),
  551. 'format_type' => 'div',
  552. 'format_settings' => array(
  553. 'label' => 'Video',
  554. 'instance_settings' => array(
  555. 'id' => '',
  556. 'classes' => 'group-video field-group-div',
  557. 'description' => '',
  558. 'show_label' => '0',
  559. 'label_element' => 'h3',
  560. 'effect' => 'none',
  561. 'speed' => 'fast',
  562. ),
  563. 'formatter' => 'open',
  564. ),
  565. );
  566. $field_groups['group_video|node|episode|accueil'] = $field_group;
  567. $field_group = new stdClass();
  568. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  569. $field_group->api_version = 1;
  570. $field_group->identifier = 'group_video|node|episode|form';
  571. $field_group->group_name = 'group_video';
  572. $field_group->entity_type = 'node';
  573. $field_group->bundle = 'episode';
  574. $field_group->mode = 'form';
  575. $field_group->parent_name = 'group_htabs';
  576. $field_group->data = array(
  577. 'label' => 'Video',
  578. 'weight' => '10',
  579. 'children' => array(
  580. 0 => 'field_emvideo',
  581. 1 => 'field_vignette',
  582. ),
  583. 'format_type' => 'htab',
  584. 'format_settings' => array(
  585. 'formatter' => 'closed',
  586. 'instance_settings' => array(
  587. 'description' => '',
  588. 'classes' => 'group-video field-group-htab',
  589. 'required_fields' => 1,
  590. 'id' => '',
  591. ),
  592. ),
  593. );
  594. $field_groups['group_video|node|episode|form'] = $field_group;
  595. $field_group = new stdClass();
  596. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  597. $field_group->api_version = 1;
  598. $field_group->identifier = 'group_video|node|thematique|accueil';
  599. $field_group->group_name = 'group_video';
  600. $field_group->entity_type = 'node';
  601. $field_group->bundle = 'thematique';
  602. $field_group->mode = 'accueil';
  603. $field_group->parent_name = 'group_main';
  604. $field_group->data = array(
  605. 'label' => 'video',
  606. 'weight' => '2',
  607. 'children' => array(
  608. 0 => 'field_emvideo',
  609. 1 => 'group_description',
  610. ),
  611. 'format_type' => 'div',
  612. 'format_settings' => array(
  613. 'label' => 'video',
  614. 'instance_settings' => array(
  615. 'id' => '',
  616. 'classes' => 'group-video field-group-div',
  617. 'description' => '',
  618. 'show_label' => '0',
  619. 'label_element' => 'h3',
  620. 'effect' => 'none',
  621. 'speed' => 'fast',
  622. ),
  623. 'formatter' => 'open',
  624. ),
  625. );
  626. $field_groups['group_video|node|thematique|accueil'] = $field_group;
  627. $field_group = new stdClass();
  628. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  629. $field_group->api_version = 1;
  630. $field_group->identifier = 'group_video|node|thematique|form';
  631. $field_group->group_name = 'group_video';
  632. $field_group->entity_type = 'node';
  633. $field_group->bundle = 'thematique';
  634. $field_group->mode = 'form';
  635. $field_group->parent_name = 'group_htabs';
  636. $field_group->data = array(
  637. 'label' => 'Video',
  638. 'weight' => '106',
  639. 'children' => array(
  640. 0 => 'field_description',
  641. 1 => 'field_emvideo',
  642. 2 => 'field_vignette',
  643. ),
  644. 'format_type' => 'htab',
  645. 'format_settings' => array(
  646. 'formatter' => 'closed',
  647. 'instance_settings' => array(
  648. 'description' => '',
  649. 'classes' => 'group-video field-group-htab',
  650. 'required_fields' => 1,
  651. 'id' => '',
  652. ),
  653. ),
  654. );
  655. $field_groups['group_video|node|thematique|form'] = $field_group;
  656. $field_group = new stdClass();
  657. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  658. $field_group->api_version = 1;
  659. $field_group->identifier = 'group_video|node|thematique|teaser';
  660. $field_group->group_name = 'group_video';
  661. $field_group->entity_type = 'node';
  662. $field_group->bundle = 'thematique';
  663. $field_group->mode = 'teaser';
  664. $field_group->parent_name = '';
  665. $field_group->data = array(
  666. 'label' => 'video',
  667. 'weight' => '1',
  668. 'children' => array(
  669. 0 => 'field_description',
  670. 1 => 'field_emvideo',
  671. ),
  672. 'format_type' => 'html5',
  673. 'format_settings' => array(
  674. 'formatter' => '',
  675. 'instance_settings' => array(
  676. 'wrapper' => '',
  677. 'classes' => 'group-video field-group-html5',
  678. 'id' => '',
  679. ),
  680. ),
  681. );
  682. $field_groups['group_video|node|thematique|teaser'] = $field_group;
  683. // Translatables
  684. // Included for use with string extractors like potx.
  685. t('Body');
  686. t('Texte');
  687. t('Video');
  688. t('bottom');
  689. t('description');
  690. t('htabs');
  691. t('main');
  692. t('right');
  693. t('txt');
  694. t('video');
  695. t('Éclairages');
  696. t('Épisodes');
  697. return $field_groups;
  698. }