clameurs.features.field_instance.inc 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294
  1. <?php
  2. /**
  3. * @file
  4. * clameurs.features.field_instance.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_instances().
  8. */
  9. function clameurs_field_default_field_instances() {
  10. $field_instances = array();
  11. // Exported field_instance: 'cer-cer-cer_bidirectional'.
  12. $field_instances['cer-cer-cer_bidirectional'] = array(
  13. 'bundle' => 'cer',
  14. 'default_value' => array(
  15. 0 => array(
  16. 'value' => 1,
  17. ),
  18. ),
  19. 'deleted' => 0,
  20. 'description' => '',
  21. 'display' => array(
  22. 'default' => array(
  23. 'label' => 'above',
  24. 'module' => 'list',
  25. 'settings' => array(),
  26. 'type' => 'list_default',
  27. 'weight' => 1,
  28. ),
  29. ),
  30. 'entity_type' => 'cer',
  31. 'field_name' => 'cer_bidirectional',
  32. 'label' => 'Bidirectional',
  33. 'required' => 0,
  34. 'settings' => array(
  35. 'entity_translation_sync' => FALSE,
  36. 'user_register_form' => FALSE,
  37. ),
  38. 'widget' => array(
  39. 'active' => 1,
  40. 'module' => 'options',
  41. 'settings' => array(
  42. 'display_label' => 1,
  43. ),
  44. 'type' => 'options_onoff',
  45. 'weight' => 3,
  46. ),
  47. );
  48. // Exported field_instance: 'cer-cer-cer_enabled'.
  49. $field_instances['cer-cer-cer_enabled'] = array(
  50. 'bundle' => 'cer',
  51. 'default_value' => array(
  52. 0 => array(
  53. 'value' => 1,
  54. ),
  55. ),
  56. 'deleted' => 0,
  57. 'description' => '',
  58. 'display' => array(
  59. 'default' => array(
  60. 'label' => 'above',
  61. 'module' => 'list',
  62. 'settings' => array(),
  63. 'type' => 'list_default',
  64. 'weight' => 0,
  65. ),
  66. ),
  67. 'entity_type' => 'cer',
  68. 'field_name' => 'cer_enabled',
  69. 'label' => 'Enabled',
  70. 'required' => 0,
  71. 'settings' => array(
  72. 'entity_translation_sync' => FALSE,
  73. 'user_register_form' => FALSE,
  74. ),
  75. 'widget' => array(
  76. 'active' => 1,
  77. 'module' => 'options',
  78. 'settings' => array(
  79. 'display_label' => 1,
  80. ),
  81. 'type' => 'options_onoff',
  82. 'weight' => 2,
  83. ),
  84. );
  85. // Exported field_instance: 'cer-cer-cer_left'.
  86. $field_instances['cer-cer-cer_left'] = array(
  87. 'bundle' => 'cer',
  88. 'default_value' => NULL,
  89. 'deleted' => 0,
  90. 'description' => '',
  91. 'display' => array(
  92. 'default' => array(
  93. 'label' => 'hidden',
  94. 'module' => 'field_object',
  95. 'settings' => array(),
  96. 'type' => 'field_object_label',
  97. 'weight' => 5,
  98. ),
  99. ),
  100. 'entity_type' => 'cer',
  101. 'field_name' => 'cer_left',
  102. 'label' => 'Left Field',
  103. 'required' => 1,
  104. 'settings' => array(
  105. 'entity_translation_sync' => FALSE,
  106. 'function' => 'CerFieldChain::collectAll',
  107. 'user_register_form' => FALSE,
  108. ),
  109. 'widget' => array(
  110. 'active' => 1,
  111. 'module' => 'options',
  112. 'settings' => array(),
  113. 'type' => 'options_select',
  114. 'weight' => 0,
  115. ),
  116. );
  117. // Exported field_instance: 'cer-cer-cer_right'.
  118. $field_instances['cer-cer-cer_right'] = array(
  119. 'bundle' => 'cer',
  120. 'default_value' => NULL,
  121. 'deleted' => 0,
  122. 'description' => '',
  123. 'display' => array(
  124. 'default' => array(
  125. 'label' => 'hidden',
  126. 'module' => 'field_object',
  127. 'settings' => array(),
  128. 'type' => 'field_object_label',
  129. 'weight' => 6,
  130. ),
  131. ),
  132. 'entity_type' => 'cer',
  133. 'field_name' => 'cer_right',
  134. 'label' => 'Right Field',
  135. 'required' => 1,
  136. 'settings' => array(
  137. 'entity_translation_sync' => FALSE,
  138. 'function' => 'CerFieldChain::collectAll',
  139. 'user_register_form' => FALSE,
  140. ),
  141. 'widget' => array(
  142. 'active' => 1,
  143. 'module' => 'options',
  144. 'settings' => array(),
  145. 'type' => 'options_select',
  146. 'weight' => 1,
  147. ),
  148. );
  149. // Exported field_instance: 'cer-cer-cer_weight'.
  150. $field_instances['cer-cer-cer_weight'] = array(
  151. 'bundle' => 'cer',
  152. 'default_value' => array(
  153. 0 => array(
  154. 'value' => 0,
  155. ),
  156. ),
  157. 'deleted' => 0,
  158. 'description' => '',
  159. 'display' => array(
  160. 'default' => array(
  161. 'label' => 'above',
  162. 'module' => 'list',
  163. 'settings' => array(),
  164. 'type' => 'list_default',
  165. 'weight' => 4,
  166. ),
  167. ),
  168. 'entity_type' => 'cer',
  169. 'field_name' => 'cer_weight',
  170. 'label' => 'Weight',
  171. 'required' => 1,
  172. 'settings' => array(
  173. 'entity_translation_sync' => FALSE,
  174. 'user_register_form' => FALSE,
  175. ),
  176. 'widget' => array(
  177. 'active' => 1,
  178. 'module' => 'options',
  179. 'settings' => array(),
  180. 'type' => 'options_select',
  181. 'weight' => 4,
  182. ),
  183. );
  184. // Exported field_instance: 'file-image-field_legende'.
  185. $field_instances['file-image-field_legende'] = array(
  186. 'bundle' => 'image',
  187. 'default_value' => NULL,
  188. 'deleted' => 0,
  189. 'description' => '',
  190. 'display' => array(
  191. 'default' => array(
  192. 'label' => 'above',
  193. 'module' => 'text',
  194. 'settings' => array(),
  195. 'type' => 'text_default',
  196. 'weight' => 0,
  197. ),
  198. ),
  199. 'entity_type' => 'file',
  200. 'field_name' => 'field_legende',
  201. 'label' => 'Legende',
  202. 'required' => 0,
  203. 'settings' => array(
  204. 'entity_translation_sync' => FALSE,
  205. 'text_processing' => 0,
  206. 'user_register_form' => FALSE,
  207. ),
  208. 'widget' => array(
  209. 'active' => 1,
  210. 'module' => 'text',
  211. 'settings' => array(
  212. 'size' => 60,
  213. ),
  214. 'type' => 'text_textfield',
  215. 'weight' => 1,
  216. ),
  217. );
  218. // Exported field_instance: 'node-documentair-body'.
  219. $field_instances['node-documentair-body'] = array(
  220. 'bundle' => 'documentair',
  221. 'default_value' => NULL,
  222. 'deleted' => 0,
  223. 'description' => '',
  224. 'display' => array(
  225. 'accueil' => array(
  226. 'label' => 'hidden',
  227. 'settings' => array(),
  228. 'type' => 'hidden',
  229. 'weight' => 2,
  230. ),
  231. 'default' => array(
  232. 'label' => 'hidden',
  233. 'module' => 'text',
  234. 'settings' => array(),
  235. 'type' => 'text_default',
  236. 'weight' => 0,
  237. ),
  238. 'teaser' => array(
  239. 'label' => 'hidden',
  240. 'module' => 'text',
  241. 'settings' => array(
  242. 'trim_length' => 600,
  243. ),
  244. 'type' => 'text_summary_or_trimmed',
  245. 'weight' => 1,
  246. ),
  247. ),
  248. 'entity_type' => 'node',
  249. 'field_name' => 'body',
  250. 'label' => 'Body',
  251. 'required' => FALSE,
  252. 'settings' => array(
  253. 'display_summary' => TRUE,
  254. 'entity_translation_sync' => FALSE,
  255. 'text_processing' => 1,
  256. 'user_register_form' => FALSE,
  257. ),
  258. 'widget' => array(
  259. 'module' => 'text',
  260. 'settings' => array(
  261. 'rows' => 20,
  262. 'summary_rows' => 5,
  263. ),
  264. 'type' => 'text_textarea_with_summary',
  265. 'weight' => 5,
  266. ),
  267. );
  268. // Exported field_instance: 'node-documentair-field_description'.
  269. $field_instances['node-documentair-field_description'] = array(
  270. 'bundle' => 'documentair',
  271. 'default_value' => NULL,
  272. 'deleted' => 0,
  273. 'description' => '',
  274. 'display' => array(
  275. 'accueil' => array(
  276. 'label' => 'above',
  277. 'settings' => array(),
  278. 'type' => 'hidden',
  279. 'weight' => 6,
  280. ),
  281. 'default' => array(
  282. 'label' => 'above',
  283. 'module' => 'text',
  284. 'settings' => array(),
  285. 'type' => 'text_default',
  286. 'weight' => 4,
  287. ),
  288. 'teaser' => array(
  289. 'label' => 'above',
  290. 'settings' => array(),
  291. 'type' => 'hidden',
  292. 'weight' => 6,
  293. ),
  294. ),
  295. 'entity_type' => 'node',
  296. 'field_name' => 'field_description',
  297. 'label' => 'Description',
  298. 'required' => 0,
  299. 'settings' => array(
  300. 'entity_translation_sync' => FALSE,
  301. 'linkit' => array(
  302. 'button_text' => 'Recherche',
  303. 'enable' => 0,
  304. 'profile' => '',
  305. ),
  306. 'text_processing' => 1,
  307. 'user_register_form' => FALSE,
  308. ),
  309. 'widget' => array(
  310. 'active' => 1,
  311. 'module' => 'text',
  312. 'settings' => array(
  313. 'rows' => 5,
  314. ),
  315. 'type' => 'text_textarea',
  316. 'weight' => 103,
  317. ),
  318. );
  319. // Exported field_instance: 'node-documentair-field_doc'.
  320. $field_instances['node-documentair-field_doc'] = array(
  321. 'bundle' => 'documentair',
  322. 'default_value' => NULL,
  323. 'deleted' => 0,
  324. 'description' => '',
  325. 'display' => array(
  326. 'accueil' => array(
  327. 'label' => 'hidden',
  328. 'module' => 'entityreference',
  329. 'settings' => array(
  330. 'link' => FALSE,
  331. ),
  332. 'type' => 'entityreference_label',
  333. 'weight' => 0,
  334. ),
  335. 'default' => array(
  336. 'label' => 'above',
  337. 'module' => 'entityreference',
  338. 'settings' => array(
  339. 'link' => FALSE,
  340. ),
  341. 'type' => 'entityreference_label',
  342. 'weight' => 1,
  343. ),
  344. 'teaser' => array(
  345. 'label' => 'hidden',
  346. 'module' => 'entityreference',
  347. 'settings' => array(
  348. 'link' => FALSE,
  349. ),
  350. 'type' => 'entityreference_label',
  351. 'weight' => 0,
  352. ),
  353. ),
  354. 'entity_type' => 'node',
  355. 'field_name' => 'field_doc',
  356. 'label' => 'Doc',
  357. 'required' => 0,
  358. 'settings' => array(
  359. 'behaviors' => array(
  360. 'taxonomy-index' => array(
  361. 'status' => TRUE,
  362. ),
  363. ),
  364. 'entity_translation_sync' => FALSE,
  365. 'user_register_form' => FALSE,
  366. ),
  367. 'widget' => array(
  368. 'active' => 1,
  369. 'module' => 'options',
  370. 'settings' => array(),
  371. 'type' => 'options_select',
  372. 'weight' => 1,
  373. ),
  374. );
  375. // Exported field_instance: 'node-documentair-field_emvideo'.
  376. $field_instances['node-documentair-field_emvideo'] = array(
  377. 'bundle' => 'documentair',
  378. 'default_value' => NULL,
  379. 'deleted' => 0,
  380. 'description' => '',
  381. 'display' => array(
  382. 'accueil' => array(
  383. 'label' => 'hidden',
  384. 'module' => 'video_embed_field_overlay',
  385. 'settings' => array(
  386. 'description' => 1,
  387. 'image_style' => 'video_thumb_docu',
  388. 'overlay' => 'dom-window',
  389. 'show_thumbnail' => 1,
  390. 'video_style' => 'normal',
  391. ),
  392. 'type' => 'video_embed_field_overlay',
  393. 'weight' => 5,
  394. ),
  395. 'default' => array(
  396. 'label' => 'above',
  397. 'module' => 'video_embed_field',
  398. 'settings' => array(
  399. 'description' => 1,
  400. 'description_position' => 'bottom',
  401. 'video_style' => 'normal',
  402. ),
  403. 'type' => 'video_embed_field',
  404. 'weight' => 5,
  405. ),
  406. 'teaser' => array(
  407. 'label' => 'hidden',
  408. 'module' => 'video_embed_field_overlay',
  409. 'settings' => array(
  410. 'description' => 1,
  411. 'image_style' => 'video_thumb_docu',
  412. 'overlay' => 'dom-window',
  413. 'show_thumbnail' => 1,
  414. 'video_style' => 'normal',
  415. ),
  416. 'type' => 'video_embed_field_overlay',
  417. 'weight' => 2,
  418. ),
  419. ),
  420. 'entity_type' => 'node',
  421. 'field_name' => 'field_emvideo',
  422. 'label' => 'Video',
  423. 'required' => 0,
  424. 'settings' => array(
  425. 'allowed_providers' => array(
  426. 'vimeo' => 'vimeo',
  427. 'youtube' => 'youtube',
  428. ),
  429. 'description_field' => 0,
  430. 'description_length' => 128,
  431. 'entity_translation_sync' => FALSE,
  432. 'user_register_form' => FALSE,
  433. ),
  434. 'widget' => array(
  435. 'active' => 0,
  436. 'module' => 'video_embed_field',
  437. 'settings' => array(),
  438. 'type' => 'video_embed_field_video',
  439. 'weight' => 101,
  440. ),
  441. );
  442. // Exported field_instance: 'node-documentair-field_thematique'.
  443. $field_instances['node-documentair-field_thematique'] = array(
  444. 'bundle' => 'documentair',
  445. 'default_value' => NULL,
  446. 'deleted' => 0,
  447. 'description' => '',
  448. 'display' => array(
  449. 'accueil' => array(
  450. 'label' => 'above',
  451. 'settings' => array(),
  452. 'type' => 'hidden',
  453. 'weight' => 5,
  454. ),
  455. 'default' => array(
  456. 'label' => 'above',
  457. 'module' => 'entityreference',
  458. 'settings' => array(
  459. 'link' => FALSE,
  460. ),
  461. 'type' => 'entityreference_label',
  462. 'weight' => 3,
  463. ),
  464. 'teaser' => array(
  465. 'label' => 'above',
  466. 'settings' => array(),
  467. 'type' => 'hidden',
  468. 'weight' => 5,
  469. ),
  470. ),
  471. 'entity_type' => 'node',
  472. 'field_name' => 'field_thematique',
  473. 'label' => 'Thématique',
  474. 'required' => 0,
  475. 'settings' => array(
  476. 'entity_translation_sync' => FALSE,
  477. 'user_register_form' => FALSE,
  478. ),
  479. 'widget' => array(
  480. 'active' => 1,
  481. 'module' => 'entityreference',
  482. 'settings' => array(
  483. 'match_operator' => 'CONTAINS',
  484. 'path' => '',
  485. 'size' => 60,
  486. ),
  487. 'type' => 'entityreference_autocomplete',
  488. 'weight' => 2,
  489. ),
  490. );
  491. // Exported field_instance: 'node-documentair-title_field'.
  492. $field_instances['node-documentair-title_field'] = array(
  493. 'bundle' => 'documentair',
  494. 'default_value' => NULL,
  495. 'deleted' => 0,
  496. 'description' => '',
  497. 'display' => array(
  498. 'accueil' => array(
  499. 'label' => 'hidden',
  500. 'module' => 'text',
  501. 'settings' => array(),
  502. 'type' => 'text_default',
  503. 'weight' => 1,
  504. ),
  505. 'default' => array(
  506. 'label' => 'above',
  507. 'settings' => array(),
  508. 'type' => 'hidden',
  509. 'weight' => 6,
  510. ),
  511. 'teaser' => array(
  512. 'label' => 'above',
  513. 'settings' => array(),
  514. 'type' => 'hidden',
  515. 'weight' => 0,
  516. ),
  517. ),
  518. 'entity_type' => 'node',
  519. 'field_name' => 'title_field',
  520. 'label' => 'Titre',
  521. 'required' => TRUE,
  522. 'settings' => array(
  523. 'entity_translation_sync' => FALSE,
  524. 'hide_label' => array(
  525. 'entity' => FALSE,
  526. 'page' => FALSE,
  527. ),
  528. 'text_processing' => 0,
  529. 'user_register_form' => FALSE,
  530. ),
  531. 'widget' => array(
  532. 'module' => 'text',
  533. 'settings' => array(
  534. 'size' => 60,
  535. ),
  536. 'type' => 'text_textfield',
  537. 'weight' => -5,
  538. ),
  539. );
  540. // Exported field_instance: 'node-episode-body'.
  541. $field_instances['node-episode-body'] = array(
  542. 'bundle' => 'episode',
  543. 'default_value' => NULL,
  544. 'deleted' => 0,
  545. 'description' => '',
  546. 'display' => array(
  547. 'accueil' => array(
  548. 'label' => 'above',
  549. 'settings' => array(),
  550. 'type' => 'hidden',
  551. 'weight' => 6,
  552. ),
  553. 'default' => array(
  554. 'label' => 'hidden',
  555. 'module' => 'text',
  556. 'settings' => array(),
  557. 'type' => 'text_default',
  558. 'weight' => 0,
  559. ),
  560. 'teaser' => array(
  561. 'label' => 'hidden',
  562. 'module' => 'text',
  563. 'settings' => array(
  564. 'trim_length' => 600,
  565. ),
  566. 'type' => 'text_summary_or_trimmed',
  567. 'weight' => 1,
  568. ),
  569. ),
  570. 'entity_type' => 'node',
  571. 'field_name' => 'body',
  572. 'label' => 'Body',
  573. 'required' => FALSE,
  574. 'settings' => array(
  575. 'display_summary' => TRUE,
  576. 'entity_translation_sync' => FALSE,
  577. 'text_processing' => 1,
  578. 'user_register_form' => FALSE,
  579. ),
  580. 'widget' => array(
  581. 'module' => 'text',
  582. 'settings' => array(
  583. 'rows' => 20,
  584. 'summary_rows' => 5,
  585. ),
  586. 'type' => 'text_textarea_with_summary',
  587. 'weight' => 2,
  588. ),
  589. );
  590. // Exported field_instance: 'node-episode-field_description'.
  591. $field_instances['node-episode-field_description'] = array(
  592. 'bundle' => 'episode',
  593. 'default_value' => NULL,
  594. 'deleted' => 0,
  595. 'description' => '',
  596. 'display' => array(
  597. 'accueil' => array(
  598. 'label' => 'above',
  599. 'settings' => array(),
  600. 'type' => 'hidden',
  601. 'weight' => 7,
  602. ),
  603. 'default' => array(
  604. 'label' => 'above',
  605. 'module' => 'text',
  606. 'settings' => array(),
  607. 'type' => 'text_default',
  608. 'weight' => 2,
  609. ),
  610. 'teaser' => array(
  611. 'label' => 'above',
  612. 'settings' => array(),
  613. 'type' => 'hidden',
  614. 'weight' => 5,
  615. ),
  616. ),
  617. 'entity_type' => 'node',
  618. 'field_name' => 'field_description',
  619. 'label' => 'Description',
  620. 'required' => 0,
  621. 'settings' => array(
  622. 'entity_translation_sync' => FALSE,
  623. 'linkit' => array(
  624. 'button_text' => 'Recherche',
  625. 'enable' => 0,
  626. 'profile' => '',
  627. ),
  628. 'text_processing' => 0,
  629. 'user_register_form' => FALSE,
  630. ),
  631. 'widget' => array(
  632. 'active' => 1,
  633. 'module' => 'text',
  634. 'settings' => array(
  635. 'rows' => 5,
  636. ),
  637. 'type' => 'text_textarea',
  638. 'weight' => 103,
  639. ),
  640. );
  641. // Exported field_instance: 'node-episode-field_emvideo'.
  642. $field_instances['node-episode-field_emvideo'] = array(
  643. 'bundle' => 'episode',
  644. 'default_value' => NULL,
  645. 'deleted' => 0,
  646. 'description' => '',
  647. 'display' => array(
  648. 'accueil' => array(
  649. 'label' => 'hidden',
  650. 'module' => 'video_embed_field_overlay',
  651. 'settings' => array(
  652. 'description' => 1,
  653. 'image_style' => 'video_thumb_episode',
  654. 'overlay' => 'dom-window',
  655. 'show_thumbnail' => 1,
  656. 'video_style' => 'normal',
  657. ),
  658. 'type' => 'video_embed_field_overlay',
  659. 'weight' => 9,
  660. ),
  661. 'default' => array(
  662. 'label' => 'above',
  663. 'module' => 'video_embed_field',
  664. 'settings' => array(
  665. 'description' => 1,
  666. 'description_position' => 'bottom',
  667. 'video_style' => 'normal',
  668. ),
  669. 'type' => 'video_embed_field',
  670. 'weight' => 5,
  671. ),
  672. 'teaser' => array(
  673. 'label' => 'hidden',
  674. 'module' => 'video_embed_field_overlay',
  675. 'settings' => array(
  676. 'description' => 1,
  677. 'image_style' => 'video_thumb_episode',
  678. 'overlay' => 'dom-window',
  679. 'show_thumbnail' => 1,
  680. 'video_style' => 'normal',
  681. ),
  682. 'type' => 'video_embed_field_overlay',
  683. 'weight' => 2,
  684. ),
  685. ),
  686. 'entity_type' => 'node',
  687. 'field_name' => 'field_emvideo',
  688. 'label' => 'Video',
  689. 'required' => 0,
  690. 'settings' => array(
  691. 'allowed_providers' => array(
  692. 'vimeo' => 'vimeo',
  693. 'youtube' => 'youtube',
  694. ),
  695. 'description_field' => 0,
  696. 'description_length' => 128,
  697. 'entity_translation_sync' => FALSE,
  698. 'user_register_form' => FALSE,
  699. ),
  700. 'widget' => array(
  701. 'active' => 0,
  702. 'module' => 'video_embed_field',
  703. 'settings' => array(),
  704. 'type' => 'video_embed_field_video',
  705. 'weight' => 101,
  706. ),
  707. );
  708. // Exported field_instance: 'node-episode-field_habiter'.
  709. $field_instances['node-episode-field_habiter'] = array(
  710. 'bundle' => 'episode',
  711. 'default_value' => NULL,
  712. 'deleted' => 0,
  713. 'description' => '',
  714. 'display' => array(
  715. 'accueil' => array(
  716. 'label' => 'hidden',
  717. 'settings' => array(),
  718. 'type' => 'hidden',
  719. 'weight' => 0,
  720. ),
  721. 'default' => array(
  722. 'label' => 'above',
  723. 'module' => 'entityreference',
  724. 'settings' => array(
  725. 'link' => FALSE,
  726. ),
  727. 'type' => 'entityreference_label',
  728. 'weight' => 3,
  729. ),
  730. 'teaser' => array(
  731. 'label' => 'hidden',
  732. 'module' => 'entityreference',
  733. 'settings' => array(
  734. 'link' => FALSE,
  735. ),
  736. 'type' => 'entityreference_label',
  737. 'weight' => 0,
  738. ),
  739. ),
  740. 'entity_type' => 'node',
  741. 'field_name' => 'field_habiter',
  742. 'label' => 'Habiter',
  743. 'required' => 0,
  744. 'settings' => array(
  745. 'behaviors' => array(
  746. 'taxonomy-index' => array(
  747. 'status' => TRUE,
  748. ),
  749. ),
  750. 'entity_translation_sync' => FALSE,
  751. 'user_register_form' => FALSE,
  752. ),
  753. 'widget' => array(
  754. 'active' => 1,
  755. 'module' => 'field_extrawidgets',
  756. 'settings' => array(
  757. 'display_empty' => 0,
  758. 'formatter' => 'entityreference_label',
  759. 'formatter_settings' => array(
  760. 'link' => 0,
  761. ),
  762. ),
  763. 'type' => 'field_extrawidgets_read_only',
  764. 'weight' => 1,
  765. ),
  766. );
  767. // Exported field_instance: 'node-episode-field_thematique'.
  768. $field_instances['node-episode-field_thematique'] = array(
  769. 'bundle' => 'episode',
  770. 'default_value' => NULL,
  771. 'deleted' => 0,
  772. 'description' => '',
  773. 'display' => array(
  774. 'accueil' => array(
  775. 'label' => 'above',
  776. 'settings' => array(),
  777. 'type' => 'hidden',
  778. 'weight' => 8,
  779. ),
  780. 'default' => array(
  781. 'label' => 'above',
  782. 'module' => 'entityreference',
  783. 'settings' => array(
  784. 'link' => FALSE,
  785. ),
  786. 'type' => 'entityreference_label',
  787. 'weight' => 4,
  788. ),
  789. 'teaser' => array(
  790. 'label' => 'above',
  791. 'settings' => array(),
  792. 'type' => 'hidden',
  793. 'weight' => 6,
  794. ),
  795. ),
  796. 'entity_type' => 'node',
  797. 'field_name' => 'field_thematique',
  798. 'label' => 'Thématique',
  799. 'required' => 0,
  800. 'settings' => array(
  801. 'entity_translation_sync' => FALSE,
  802. 'user_register_form' => FALSE,
  803. ),
  804. 'widget' => array(
  805. 'active' => 1,
  806. 'module' => 'entityreference',
  807. 'settings' => array(
  808. 'match_operator' => 'CONTAINS',
  809. 'path' => '',
  810. 'size' => 60,
  811. ),
  812. 'type' => 'entityreference_autocomplete',
  813. 'weight' => 2,
  814. ),
  815. );
  816. // Exported field_instance: 'node-episode-title_field'.
  817. $field_instances['node-episode-title_field'] = array(
  818. 'bundle' => 'episode',
  819. 'default_value' => NULL,
  820. 'deleted' => 0,
  821. 'description' => '',
  822. 'display' => array(
  823. 'accueil' => array(
  824. 'label' => 'hidden',
  825. 'module' => 'text',
  826. 'settings' => array(),
  827. 'type' => 'text_default',
  828. 'weight' => 3,
  829. ),
  830. 'default' => array(
  831. 'label' => 'above',
  832. 'settings' => array(),
  833. 'type' => 'hidden',
  834. 'weight' => 6,
  835. ),
  836. 'teaser' => array(
  837. 'label' => 'above',
  838. 'settings' => array(),
  839. 'type' => 'hidden',
  840. 'weight' => 0,
  841. ),
  842. ),
  843. 'entity_type' => 'node',
  844. 'field_name' => 'title_field',
  845. 'label' => 'Titre',
  846. 'required' => TRUE,
  847. 'settings' => array(
  848. 'entity_translation_sync' => FALSE,
  849. 'hide_label' => array(
  850. 'entity' => FALSE,
  851. 'page' => FALSE,
  852. ),
  853. 'text_processing' => 0,
  854. 'user_register_form' => FALSE,
  855. ),
  856. 'widget' => array(
  857. 'module' => 'text',
  858. 'settings' => array(
  859. 'size' => 60,
  860. ),
  861. 'type' => 'text_textfield',
  862. 'weight' => -5,
  863. ),
  864. );
  865. // Exported field_instance: 'node-thematique-body'.
  866. $field_instances['node-thematique-body'] = array(
  867. 'bundle' => 'thematique',
  868. 'default_value' => NULL,
  869. 'deleted' => 0,
  870. 'description' => '',
  871. 'display' => array(
  872. 'accueil' => array(
  873. 'label' => 'hidden',
  874. 'module' => 'text',
  875. 'settings' => array(),
  876. 'type' => 'text_default',
  877. 'weight' => 3,
  878. ),
  879. 'default' => array(
  880. 'label' => 'hidden',
  881. 'module' => 'text',
  882. 'settings' => array(),
  883. 'type' => 'text_default',
  884. 'weight' => 0,
  885. ),
  886. 'teaser' => array(
  887. 'label' => 'hidden',
  888. 'module' => 'text',
  889. 'settings' => array(),
  890. 'type' => 'text_default',
  891. 'weight' => 1,
  892. ),
  893. ),
  894. 'entity_type' => 'node',
  895. 'field_name' => 'body',
  896. 'label' => 'Body',
  897. 'required' => FALSE,
  898. 'settings' => array(
  899. 'display_summary' => TRUE,
  900. 'entity_translation_sync' => FALSE,
  901. 'text_processing' => 1,
  902. 'user_register_form' => FALSE,
  903. ),
  904. 'widget' => array(
  905. 'module' => 'text',
  906. 'settings' => array(
  907. 'rows' => 20,
  908. 'summary_rows' => 5,
  909. ),
  910. 'type' => 'text_textarea_with_summary',
  911. 'weight' => 4,
  912. ),
  913. );
  914. // Exported field_instance: 'node-thematique-field_description'.
  915. $field_instances['node-thematique-field_description'] = array(
  916. 'bundle' => 'thematique',
  917. 'default_value' => NULL,
  918. 'deleted' => 0,
  919. 'description' => '',
  920. 'display' => array(
  921. 'accueil' => array(
  922. 'label' => 'hidden',
  923. 'module' => 'text',
  924. 'settings' => array(),
  925. 'type' => 'text_default',
  926. 'weight' => 11,
  927. ),
  928. 'default' => array(
  929. 'label' => 'above',
  930. 'module' => 'text',
  931. 'settings' => array(),
  932. 'type' => 'text_default',
  933. 'weight' => 2,
  934. ),
  935. 'teaser' => array(
  936. 'label' => 'hidden',
  937. 'module' => 'text',
  938. 'settings' => array(),
  939. 'type' => 'text_default',
  940. 'weight' => 9,
  941. ),
  942. ),
  943. 'entity_type' => 'node',
  944. 'field_name' => 'field_description',
  945. 'label' => 'Description',
  946. 'required' => 0,
  947. 'settings' => array(
  948. 'entity_translation_sync' => FALSE,
  949. 'linkit' => array(
  950. 'button_text' => 'Recherche',
  951. 'enable' => 0,
  952. 'profile' => '',
  953. ),
  954. 'text_processing' => 1,
  955. 'user_register_form' => FALSE,
  956. ),
  957. 'widget' => array(
  958. 'active' => 1,
  959. 'module' => 'text',
  960. 'settings' => array(
  961. 'rows' => 5,
  962. ),
  963. 'type' => 'text_textarea',
  964. 'weight' => 103,
  965. ),
  966. );
  967. // Exported field_instance: 'node-thematique-field_eclairages'.
  968. $field_instances['node-thematique-field_eclairages'] = array(
  969. 'bundle' => 'thematique',
  970. 'default_value' => NULL,
  971. 'deleted' => 0,
  972. 'description' => '',
  973. 'display' => array(
  974. 'accueil' => array(
  975. 'label' => 'hidden',
  976. 'module' => 'entityreference',
  977. 'settings' => array(
  978. 'links' => 0,
  979. 'use_content_language' => 1,
  980. 'view_mode' => 'accueil',
  981. ),
  982. 'type' => 'entityreference_entity_view',
  983. 'weight' => 6,
  984. ),
  985. 'default' => array(
  986. 'label' => 'above',
  987. 'module' => 'entityreference',
  988. 'settings' => array(
  989. 'link' => FALSE,
  990. ),
  991. 'type' => 'entityreference_label',
  992. 'weight' => 6,
  993. ),
  994. 'teaser' => array(
  995. 'label' => 'above',
  996. 'settings' => array(),
  997. 'type' => 'hidden',
  998. 'weight' => 7,
  999. ),
  1000. ),
  1001. 'entity_type' => 'node',
  1002. 'field_name' => 'field_eclairages',
  1003. 'label' => 'éclairages',
  1004. 'required' => 0,
  1005. 'settings' => array(
  1006. 'entity_translation_sync' => FALSE,
  1007. 'user_register_form' => FALSE,
  1008. ),
  1009. 'widget' => array(
  1010. 'active' => 1,
  1011. 'module' => 'entityreference',
  1012. 'settings' => array(
  1013. 'match_operator' => 'CONTAINS',
  1014. 'path' => '',
  1015. 'size' => 60,
  1016. ),
  1017. 'type' => 'entityreference_autocomplete',
  1018. 'weight' => 100,
  1019. ),
  1020. );
  1021. // Exported field_instance: 'node-thematique-field_ecouter'.
  1022. $field_instances['node-thematique-field_ecouter'] = array(
  1023. 'bundle' => 'thematique',
  1024. 'default_value' => NULL,
  1025. 'deleted' => 0,
  1026. 'description' => '',
  1027. 'display' => array(
  1028. 'accueil' => array(
  1029. 'label' => 'hidden',
  1030. 'module' => 'taxonomy',
  1031. 'settings' => array(),
  1032. 'type' => 'taxonomy_term_reference_plain',
  1033. 'weight' => 10,
  1034. ),
  1035. 'default' => array(
  1036. 'label' => 'above',
  1037. 'module' => 'taxonomy',
  1038. 'settings' => array(),
  1039. 'type' => 'taxonomy_term_reference_link',
  1040. 'weight' => 5,
  1041. ),
  1042. 'teaser' => array(
  1043. 'label' => 'above',
  1044. 'settings' => array(),
  1045. 'type' => 'hidden',
  1046. 'weight' => 6,
  1047. ),
  1048. ),
  1049. 'entity_type' => 'node',
  1050. 'field_name' => 'field_ecouter',
  1051. 'label' => 'Écouter',
  1052. 'required' => 0,
  1053. 'settings' => array(
  1054. 'entity_translation_sync' => FALSE,
  1055. 'user_register_form' => FALSE,
  1056. ),
  1057. 'widget' => array(
  1058. 'active' => 1,
  1059. 'module' => 'field_extrawidgets',
  1060. 'settings' => array(
  1061. 'display_empty' => 0,
  1062. 'formatter' => 'taxonomy_term_reference_plain',
  1063. 'formatter_settings' => array(),
  1064. ),
  1065. 'type' => 'field_extrawidgets_read_only',
  1066. 'weight' => 5,
  1067. ),
  1068. );
  1069. // Exported field_instance: 'node-thematique-field_emvideo'.
  1070. $field_instances['node-thematique-field_emvideo'] = array(
  1071. 'bundle' => 'thematique',
  1072. 'default_value' => NULL,
  1073. 'deleted' => 0,
  1074. 'description' => '',
  1075. 'display' => array(
  1076. 'accueil' => array(
  1077. 'label' => 'hidden',
  1078. 'module' => 'video_embed_field_overlay',
  1079. 'settings' => array(
  1080. 'description' => 1,
  1081. 'image_style' => 'video_thumb_themat',
  1082. 'overlay' => 'dom-window',
  1083. 'show_thumbnail' => 1,
  1084. 'video_style' => 'normal',
  1085. ),
  1086. 'type' => 'video_embed_field_overlay',
  1087. 'weight' => 8,
  1088. ),
  1089. 'default' => array(
  1090. 'label' => 'above',
  1091. 'module' => 'video_embed_field',
  1092. 'settings' => array(
  1093. 'description' => 1,
  1094. 'description_position' => 'bottom',
  1095. 'video_style' => 'normal',
  1096. ),
  1097. 'type' => 'video_embed_field',
  1098. 'weight' => 7,
  1099. ),
  1100. 'teaser' => array(
  1101. 'label' => 'hidden',
  1102. 'module' => 'video_embed_field_overlay',
  1103. 'settings' => array(
  1104. 'description' => 1,
  1105. 'image_style' => 'video_thumb_themat',
  1106. 'overlay' => 'dom-window',
  1107. 'show_thumbnail' => 1,
  1108. 'video_style' => 'normal',
  1109. ),
  1110. 'type' => 'video_embed_field_overlay',
  1111. 'weight' => 8,
  1112. ),
  1113. ),
  1114. 'entity_type' => 'node',
  1115. 'field_name' => 'field_emvideo',
  1116. 'label' => 'Video',
  1117. 'required' => 0,
  1118. 'settings' => array(
  1119. 'allowed_providers' => array(
  1120. 'vimeo' => 'vimeo',
  1121. 'youtube' => 'youtube',
  1122. ),
  1123. 'description_field' => 0,
  1124. 'description_length' => 128,
  1125. 'entity_translation_sync' => FALSE,
  1126. 'user_register_form' => FALSE,
  1127. ),
  1128. 'widget' => array(
  1129. 'active' => 0,
  1130. 'module' => 'video_embed_field',
  1131. 'settings' => array(),
  1132. 'type' => 'video_embed_field_video',
  1133. 'weight' => 101,
  1134. ),
  1135. );
  1136. // Exported field_instance: 'node-thematique-field_episodes'.
  1137. $field_instances['node-thematique-field_episodes'] = array(
  1138. 'bundle' => 'thematique',
  1139. 'default_value' => NULL,
  1140. 'deleted' => 0,
  1141. 'description' => '',
  1142. 'display' => array(
  1143. 'accueil' => array(
  1144. 'label' => 'hidden',
  1145. 'module' => 'entityreference',
  1146. 'settings' => array(
  1147. 'links' => 0,
  1148. 'use_content_language' => 1,
  1149. 'view_mode' => 'accueil',
  1150. ),
  1151. 'type' => 'entityreference_entity_view',
  1152. 'weight' => 5,
  1153. ),
  1154. 'default' => array(
  1155. 'label' => 'above',
  1156. 'module' => 'entityreference',
  1157. 'settings' => array(
  1158. 'link' => FALSE,
  1159. ),
  1160. 'type' => 'entityreference_label',
  1161. 'weight' => 3,
  1162. ),
  1163. 'teaser' => array(
  1164. 'label' => 'hidden',
  1165. 'settings' => array(),
  1166. 'type' => 'hidden',
  1167. 'weight' => 2,
  1168. ),
  1169. ),
  1170. 'entity_type' => 'node',
  1171. 'field_name' => 'field_episodes',
  1172. 'label' => 'Épisodes',
  1173. 'required' => 0,
  1174. 'settings' => array(
  1175. 'entity_translation_sync' => FALSE,
  1176. 'user_register_form' => FALSE,
  1177. ),
  1178. 'widget' => array(
  1179. 'active' => 1,
  1180. 'module' => 'entityreference',
  1181. 'settings' => array(
  1182. 'match_operator' => 'CONTAINS',
  1183. 'path' => '',
  1184. 'size' => 60,
  1185. ),
  1186. 'type' => 'entityreference_autocomplete',
  1187. 'weight' => 7,
  1188. ),
  1189. );
  1190. // Exported field_instance: 'node-thematique-field_poid'.
  1191. $field_instances['node-thematique-field_poid'] = array(
  1192. 'bundle' => 'thematique',
  1193. 'default_value' => array(
  1194. 0 => array(
  1195. 'value' => 0,
  1196. ),
  1197. ),
  1198. 'deleted' => 0,
  1199. 'description' => '',
  1200. 'display' => array(
  1201. 'accueil' => array(
  1202. 'label' => 'above',
  1203. 'settings' => array(),
  1204. 'type' => 'hidden',
  1205. 'weight' => 7,
  1206. ),
  1207. 'default' => array(
  1208. 'label' => 'above',
  1209. 'module' => 'number',
  1210. 'settings' => array(
  1211. 'decimal_separator' => '.',
  1212. 'prefix_suffix' => TRUE,
  1213. 'scale' => 0,
  1214. 'thousand_separator' => '',
  1215. ),
  1216. 'type' => 'number_integer',
  1217. 'weight' => 8,
  1218. ),
  1219. 'teaser' => array(
  1220. 'label' => 'above',
  1221. 'settings' => array(),
  1222. 'type' => 'hidden',
  1223. 'weight' => 8,
  1224. ),
  1225. ),
  1226. 'entity_type' => 'node',
  1227. 'field_name' => 'field_poid',
  1228. 'label' => 'Poid',
  1229. 'required' => 1,
  1230. 'settings' => array(
  1231. 'entity_translation_sync' => FALSE,
  1232. 'max' => 10,
  1233. 'min' => 0,
  1234. 'prefix' => '',
  1235. 'suffix' => '',
  1236. 'user_register_form' => FALSE,
  1237. ),
  1238. 'widget' => array(
  1239. 'active' => 0,
  1240. 'module' => 'number',
  1241. 'settings' => array(),
  1242. 'type' => 'number',
  1243. 'weight' => 1,
  1244. ),
  1245. );
  1246. // Translatables
  1247. // Included for use with string extractors like potx.
  1248. t('Bidirectional');
  1249. t('Body');
  1250. t('Description');
  1251. t('Doc');
  1252. t('Enabled');
  1253. t('Habiter');
  1254. t('Left Field');
  1255. t('Legende');
  1256. t('Poid');
  1257. t('Right Field');
  1258. t('Thématique');
  1259. t('Titre');
  1260. t('Video');
  1261. t('Weight');
  1262. t('Écouter');
  1263. t('Épisodes');
  1264. t('éclairages');
  1265. return $field_instances;
  1266. }