clameurs.features.field_instance.inc 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297
  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',
  385. 'settings' => array(
  386. 'description' => 1,
  387. 'description_position' => 'bottom',
  388. 'image_link' => 'source',
  389. 'image_style' => 'video_thumb_docu',
  390. ),
  391. 'type' => 'video_embed_field_thumbnail',
  392. 'weight' => 5,
  393. ),
  394. 'default' => array(
  395. 'label' => 'above',
  396. 'module' => 'video_embed_field',
  397. 'settings' => array(
  398. 'description' => 1,
  399. 'description_position' => 'bottom',
  400. 'video_style' => 'normal',
  401. ),
  402. 'type' => 'video_embed_field',
  403. 'weight' => 5,
  404. ),
  405. 'teaser' => array(
  406. 'label' => 'hidden',
  407. 'module' => 'video_embed_field_overlay',
  408. 'settings' => array(
  409. 'description' => 1,
  410. 'image_style' => 'video_thumb_docu',
  411. 'overlay' => 'dom-window',
  412. 'show_thumbnail' => 1,
  413. 'video_style' => 'normal',
  414. ),
  415. 'type' => 'video_embed_field_overlay',
  416. 'weight' => 2,
  417. ),
  418. ),
  419. 'entity_type' => 'node',
  420. 'field_name' => 'field_emvideo',
  421. 'label' => 'Video',
  422. 'required' => 0,
  423. 'settings' => array(
  424. 'allowed_providers' => array(
  425. 'vimeo' => 'vimeo',
  426. 'youtube' => 'youtube',
  427. ),
  428. 'description_field' => 0,
  429. 'description_length' => 128,
  430. 'entity_translation_sync' => FALSE,
  431. 'user_register_form' => FALSE,
  432. ),
  433. 'widget' => array(
  434. 'active' => 0,
  435. 'module' => 'video_embed_field',
  436. 'settings' => array(),
  437. 'type' => 'video_embed_field_video',
  438. 'weight' => 4,
  439. ),
  440. );
  441. // Exported field_instance: 'node-documentair-field_thematique'.
  442. $field_instances['node-documentair-field_thematique'] = array(
  443. 'bundle' => 'documentair',
  444. 'default_value' => NULL,
  445. 'deleted' => 0,
  446. 'description' => '',
  447. 'display' => array(
  448. 'accueil' => array(
  449. 'label' => 'above',
  450. 'settings' => array(),
  451. 'type' => 'hidden',
  452. 'weight' => 5,
  453. ),
  454. 'default' => array(
  455. 'label' => 'above',
  456. 'module' => 'entityreference',
  457. 'settings' => array(
  458. 'link' => FALSE,
  459. ),
  460. 'type' => 'entityreference_label',
  461. 'weight' => 3,
  462. ),
  463. 'teaser' => array(
  464. 'label' => 'above',
  465. 'settings' => array(),
  466. 'type' => 'hidden',
  467. 'weight' => 5,
  468. ),
  469. ),
  470. 'entity_type' => 'node',
  471. 'field_name' => 'field_thematique',
  472. 'label' => 'Thématique',
  473. 'required' => 0,
  474. 'settings' => array(
  475. 'entity_translation_sync' => FALSE,
  476. 'user_register_form' => FALSE,
  477. ),
  478. 'widget' => array(
  479. 'active' => 1,
  480. 'module' => 'entityreference',
  481. 'settings' => array(
  482. 'match_operator' => 'CONTAINS',
  483. 'path' => '',
  484. 'size' => 60,
  485. ),
  486. 'type' => 'entityreference_autocomplete',
  487. 'weight' => 2,
  488. ),
  489. );
  490. // Exported field_instance: 'node-documentair-title_field'.
  491. $field_instances['node-documentair-title_field'] = array(
  492. 'bundle' => 'documentair',
  493. 'default_value' => NULL,
  494. 'deleted' => 0,
  495. 'description' => '',
  496. 'display' => array(
  497. 'accueil' => array(
  498. 'label' => 'hidden',
  499. 'module' => 'text',
  500. 'settings' => array(),
  501. 'type' => 'text_default',
  502. 'weight' => 1,
  503. ),
  504. 'default' => array(
  505. 'label' => 'above',
  506. 'settings' => array(),
  507. 'type' => 'hidden',
  508. 'weight' => 6,
  509. ),
  510. 'teaser' => array(
  511. 'label' => 'above',
  512. 'settings' => array(),
  513. 'type' => 'hidden',
  514. 'weight' => 0,
  515. ),
  516. ),
  517. 'entity_type' => 'node',
  518. 'field_name' => 'title_field',
  519. 'label' => 'Titre',
  520. 'required' => TRUE,
  521. 'settings' => array(
  522. 'entity_translation_sync' => FALSE,
  523. 'hide_label' => array(
  524. 'entity' => FALSE,
  525. 'page' => FALSE,
  526. ),
  527. 'text_processing' => 0,
  528. 'user_register_form' => FALSE,
  529. ),
  530. 'widget' => array(
  531. 'module' => 'text',
  532. 'settings' => array(
  533. 'size' => 60,
  534. ),
  535. 'type' => 'text_textfield',
  536. 'weight' => 0,
  537. ),
  538. );
  539. // Exported field_instance: 'node-episode-body'.
  540. $field_instances['node-episode-body'] = array(
  541. 'bundle' => 'episode',
  542. 'default_value' => NULL,
  543. 'deleted' => 0,
  544. 'description' => '',
  545. 'display' => array(
  546. 'accueil' => array(
  547. 'label' => 'above',
  548. 'settings' => array(),
  549. 'type' => 'hidden',
  550. 'weight' => 6,
  551. ),
  552. 'default' => array(
  553. 'label' => 'hidden',
  554. 'module' => 'text',
  555. 'settings' => array(),
  556. 'type' => 'text_default',
  557. 'weight' => 0,
  558. ),
  559. 'teaser' => array(
  560. 'label' => 'hidden',
  561. 'module' => 'text',
  562. 'settings' => array(
  563. 'trim_length' => 600,
  564. ),
  565. 'type' => 'text_summary_or_trimmed',
  566. 'weight' => 1,
  567. ),
  568. ),
  569. 'entity_type' => 'node',
  570. 'field_name' => 'body',
  571. 'label' => 'Body',
  572. 'required' => 0,
  573. 'settings' => array(
  574. 'display_summary' => 1,
  575. 'entity_translation_sync' => FALSE,
  576. 'linkit' => array(
  577. 'button_text' => 'Recherche',
  578. 'enable' => 0,
  579. 'profile' => '',
  580. ),
  581. 'text_processing' => 1,
  582. 'user_register_form' => FALSE,
  583. ),
  584. 'widget' => array(
  585. 'active' => 1,
  586. 'module' => 'text',
  587. 'settings' => array(
  588. 'rows' => 20,
  589. 'summary_rows' => 5,
  590. ),
  591. 'type' => 'text_textarea_with_summary',
  592. 'weight' => 2,
  593. ),
  594. );
  595. // Exported field_instance: 'node-episode-field_description'.
  596. $field_instances['node-episode-field_description'] = array(
  597. 'bundle' => 'episode',
  598. 'default_value' => NULL,
  599. 'deleted' => 0,
  600. 'description' => '',
  601. 'display' => array(
  602. 'accueil' => array(
  603. 'label' => 'above',
  604. 'settings' => array(),
  605. 'type' => 'hidden',
  606. 'weight' => 7,
  607. ),
  608. 'default' => array(
  609. 'label' => 'above',
  610. 'module' => 'text',
  611. 'settings' => array(),
  612. 'type' => 'text_default',
  613. 'weight' => 2,
  614. ),
  615. 'teaser' => array(
  616. 'label' => 'above',
  617. 'settings' => array(),
  618. 'type' => 'hidden',
  619. 'weight' => 5,
  620. ),
  621. ),
  622. 'entity_type' => 'node',
  623. 'field_name' => 'field_description',
  624. 'label' => 'Description',
  625. 'required' => 0,
  626. 'settings' => array(
  627. 'entity_translation_sync' => FALSE,
  628. 'linkit' => array(
  629. 'button_text' => 'Recherche',
  630. 'enable' => 0,
  631. 'profile' => '',
  632. ),
  633. 'text_processing' => 0,
  634. 'user_register_form' => FALSE,
  635. ),
  636. 'widget' => array(
  637. 'active' => 1,
  638. 'module' => 'text',
  639. 'settings' => array(
  640. 'rows' => 5,
  641. ),
  642. 'type' => 'text_textarea',
  643. 'weight' => 103,
  644. ),
  645. );
  646. // Exported field_instance: 'node-episode-field_emvideo'.
  647. $field_instances['node-episode-field_emvideo'] = array(
  648. 'bundle' => 'episode',
  649. 'default_value' => NULL,
  650. 'deleted' => 0,
  651. 'description' => '',
  652. 'display' => array(
  653. 'accueil' => array(
  654. 'label' => 'hidden',
  655. 'module' => 'video_embed_field',
  656. 'settings' => array(
  657. 'description' => 1,
  658. 'description_position' => 'bottom',
  659. 'image_link' => 'source',
  660. 'image_style' => 'video_thumb_episode',
  661. ),
  662. 'type' => 'video_embed_field_thumbnail',
  663. 'weight' => 9,
  664. ),
  665. 'default' => array(
  666. 'label' => 'above',
  667. 'module' => 'video_embed_field',
  668. 'settings' => array(
  669. 'description' => 1,
  670. 'description_position' => 'bottom',
  671. 'video_style' => 'normal',
  672. ),
  673. 'type' => 'video_embed_field',
  674. 'weight' => 5,
  675. ),
  676. 'teaser' => array(
  677. 'label' => 'hidden',
  678. 'module' => 'video_embed_field_overlay',
  679. 'settings' => array(
  680. 'description' => 1,
  681. 'image_style' => 'video_thumb_episode',
  682. 'overlay' => 'dom-window',
  683. 'show_thumbnail' => 1,
  684. 'video_style' => 'normal',
  685. ),
  686. 'type' => 'video_embed_field_overlay',
  687. 'weight' => 2,
  688. ),
  689. ),
  690. 'entity_type' => 'node',
  691. 'field_name' => 'field_emvideo',
  692. 'label' => 'Video',
  693. 'required' => 0,
  694. 'settings' => array(
  695. 'allowed_providers' => array(
  696. 'vimeo' => 'vimeo',
  697. 'youtube' => 'youtube',
  698. ),
  699. 'description_field' => 0,
  700. 'description_length' => 128,
  701. 'entity_translation_sync' => FALSE,
  702. 'user_register_form' => FALSE,
  703. ),
  704. 'widget' => array(
  705. 'active' => 0,
  706. 'module' => 'video_embed_field',
  707. 'settings' => array(),
  708. 'type' => 'video_embed_field_video',
  709. 'weight' => 3,
  710. ),
  711. );
  712. // Exported field_instance: 'node-episode-field_habiter'.
  713. $field_instances['node-episode-field_habiter'] = array(
  714. 'bundle' => 'episode',
  715. 'default_value' => NULL,
  716. 'deleted' => 0,
  717. 'description' => '',
  718. 'display' => array(
  719. 'accueil' => array(
  720. 'label' => 'hidden',
  721. 'settings' => array(),
  722. 'type' => 'hidden',
  723. 'weight' => 0,
  724. ),
  725. 'default' => array(
  726. 'label' => 'above',
  727. 'module' => 'entityreference',
  728. 'settings' => array(
  729. 'link' => FALSE,
  730. ),
  731. 'type' => 'entityreference_label',
  732. 'weight' => 3,
  733. ),
  734. 'teaser' => array(
  735. 'label' => 'hidden',
  736. 'module' => 'entityreference',
  737. 'settings' => array(
  738. 'link' => FALSE,
  739. ),
  740. 'type' => 'entityreference_label',
  741. 'weight' => 0,
  742. ),
  743. ),
  744. 'entity_type' => 'node',
  745. 'field_name' => 'field_habiter',
  746. 'label' => 'Habiter',
  747. 'required' => 0,
  748. 'settings' => array(
  749. 'behaviors' => array(
  750. 'taxonomy-index' => array(
  751. 'status' => TRUE,
  752. ),
  753. ),
  754. 'entity_translation_sync' => FALSE,
  755. 'user_register_form' => FALSE,
  756. ),
  757. 'widget' => array(
  758. 'active' => 1,
  759. 'module' => 'field_extrawidgets',
  760. 'settings' => array(
  761. 'display_empty' => 0,
  762. 'formatter' => 'entityreference_label',
  763. 'formatter_settings' => array(
  764. 'link' => 0,
  765. ),
  766. ),
  767. 'type' => 'field_extrawidgets_read_only',
  768. 'weight' => 1,
  769. ),
  770. );
  771. // Exported field_instance: 'node-episode-field_thematique'.
  772. $field_instances['node-episode-field_thematique'] = array(
  773. 'bundle' => 'episode',
  774. 'default_value' => NULL,
  775. 'deleted' => 0,
  776. 'description' => '',
  777. 'display' => array(
  778. 'accueil' => array(
  779. 'label' => 'above',
  780. 'settings' => array(),
  781. 'type' => 'hidden',
  782. 'weight' => 8,
  783. ),
  784. 'default' => array(
  785. 'label' => 'above',
  786. 'module' => 'entityreference',
  787. 'settings' => array(
  788. 'link' => FALSE,
  789. ),
  790. 'type' => 'entityreference_label',
  791. 'weight' => 4,
  792. ),
  793. 'teaser' => array(
  794. 'label' => 'above',
  795. 'settings' => array(),
  796. 'type' => 'hidden',
  797. 'weight' => 6,
  798. ),
  799. ),
  800. 'entity_type' => 'node',
  801. 'field_name' => 'field_thematique',
  802. 'label' => 'Thématique',
  803. 'required' => 0,
  804. 'settings' => array(
  805. 'entity_translation_sync' => FALSE,
  806. 'user_register_form' => FALSE,
  807. ),
  808. 'widget' => array(
  809. 'active' => 1,
  810. 'module' => 'entityreference',
  811. 'settings' => array(
  812. 'match_operator' => 'CONTAINS',
  813. 'path' => '',
  814. 'size' => 60,
  815. ),
  816. 'type' => 'entityreference_autocomplete',
  817. 'weight' => 2,
  818. ),
  819. );
  820. // Exported field_instance: 'node-episode-title_field'.
  821. $field_instances['node-episode-title_field'] = array(
  822. 'bundle' => 'episode',
  823. 'default_value' => NULL,
  824. 'deleted' => 0,
  825. 'description' => '',
  826. 'display' => array(
  827. 'accueil' => array(
  828. 'label' => 'hidden',
  829. 'module' => 'text',
  830. 'settings' => array(),
  831. 'type' => 'text_default',
  832. 'weight' => 3,
  833. ),
  834. 'default' => array(
  835. 'label' => 'above',
  836. 'settings' => array(),
  837. 'type' => 'hidden',
  838. 'weight' => 6,
  839. ),
  840. 'teaser' => array(
  841. 'label' => 'above',
  842. 'settings' => array(),
  843. 'type' => 'hidden',
  844. 'weight' => 0,
  845. ),
  846. ),
  847. 'entity_type' => 'node',
  848. 'field_name' => 'title_field',
  849. 'label' => 'Titre',
  850. 'required' => TRUE,
  851. 'settings' => array(
  852. 'entity_translation_sync' => FALSE,
  853. 'hide_label' => array(
  854. 'entity' => FALSE,
  855. 'page' => FALSE,
  856. ),
  857. 'text_processing' => 0,
  858. 'user_register_form' => FALSE,
  859. ),
  860. 'widget' => array(
  861. 'module' => 'text',
  862. 'settings' => array(
  863. 'size' => 60,
  864. ),
  865. 'type' => 'text_textfield',
  866. 'weight' => 0,
  867. ),
  868. );
  869. // Exported field_instance: 'node-thematique-body'.
  870. $field_instances['node-thematique-body'] = array(
  871. 'bundle' => 'thematique',
  872. 'default_value' => NULL,
  873. 'deleted' => 0,
  874. 'description' => '',
  875. 'display' => array(
  876. 'accueil' => array(
  877. 'label' => 'hidden',
  878. 'module' => 'text',
  879. 'settings' => array(),
  880. 'type' => 'text_default',
  881. 'weight' => 3,
  882. ),
  883. 'default' => array(
  884. 'label' => 'hidden',
  885. 'module' => 'text',
  886. 'settings' => array(),
  887. 'type' => 'text_default',
  888. 'weight' => 0,
  889. ),
  890. 'teaser' => array(
  891. 'label' => 'hidden',
  892. 'module' => 'text',
  893. 'settings' => array(),
  894. 'type' => 'text_default',
  895. 'weight' => 1,
  896. ),
  897. ),
  898. 'entity_type' => 'node',
  899. 'field_name' => 'body',
  900. 'label' => 'Body',
  901. 'required' => FALSE,
  902. 'settings' => array(
  903. 'display_summary' => TRUE,
  904. 'entity_translation_sync' => FALSE,
  905. 'text_processing' => 1,
  906. 'user_register_form' => FALSE,
  907. ),
  908. 'widget' => array(
  909. 'module' => 'text',
  910. 'settings' => array(
  911. 'rows' => 20,
  912. 'summary_rows' => 5,
  913. ),
  914. 'type' => 'text_textarea_with_summary',
  915. 'weight' => 4,
  916. ),
  917. );
  918. // Exported field_instance: 'node-thematique-field_description'.
  919. $field_instances['node-thematique-field_description'] = array(
  920. 'bundle' => 'thematique',
  921. 'default_value' => NULL,
  922. 'deleted' => 0,
  923. 'description' => '',
  924. 'display' => array(
  925. 'accueil' => array(
  926. 'label' => 'hidden',
  927. 'module' => 'text',
  928. 'settings' => array(),
  929. 'type' => 'text_default',
  930. 'weight' => 11,
  931. ),
  932. 'default' => array(
  933. 'label' => 'above',
  934. 'module' => 'text',
  935. 'settings' => array(),
  936. 'type' => 'text_default',
  937. 'weight' => 2,
  938. ),
  939. 'teaser' => array(
  940. 'label' => 'hidden',
  941. 'module' => 'text',
  942. 'settings' => array(),
  943. 'type' => 'text_default',
  944. 'weight' => 9,
  945. ),
  946. ),
  947. 'entity_type' => 'node',
  948. 'field_name' => 'field_description',
  949. 'label' => 'Description',
  950. 'required' => 0,
  951. 'settings' => array(
  952. 'entity_translation_sync' => FALSE,
  953. 'linkit' => array(
  954. 'button_text' => 'Recherche',
  955. 'enable' => 0,
  956. 'profile' => '',
  957. ),
  958. 'text_processing' => 1,
  959. 'user_register_form' => FALSE,
  960. ),
  961. 'widget' => array(
  962. 'active' => 1,
  963. 'module' => 'text',
  964. 'settings' => array(
  965. 'rows' => 5,
  966. ),
  967. 'type' => 'text_textarea',
  968. 'weight' => 103,
  969. ),
  970. );
  971. // Exported field_instance: 'node-thematique-field_eclairages'.
  972. $field_instances['node-thematique-field_eclairages'] = array(
  973. 'bundle' => 'thematique',
  974. 'default_value' => NULL,
  975. 'deleted' => 0,
  976. 'description' => '',
  977. 'display' => array(
  978. 'accueil' => array(
  979. 'label' => 'hidden',
  980. 'module' => 'entityreference',
  981. 'settings' => array(
  982. 'links' => 0,
  983. 'use_content_language' => 1,
  984. 'view_mode' => 'accueil',
  985. ),
  986. 'type' => 'entityreference_entity_view',
  987. 'weight' => 6,
  988. ),
  989. 'default' => array(
  990. 'label' => 'above',
  991. 'module' => 'entityreference',
  992. 'settings' => array(
  993. 'link' => FALSE,
  994. ),
  995. 'type' => 'entityreference_label',
  996. 'weight' => 6,
  997. ),
  998. 'teaser' => array(
  999. 'label' => 'above',
  1000. 'settings' => array(),
  1001. 'type' => 'hidden',
  1002. 'weight' => 7,
  1003. ),
  1004. ),
  1005. 'entity_type' => 'node',
  1006. 'field_name' => 'field_eclairages',
  1007. 'label' => 'éclairages',
  1008. 'required' => 0,
  1009. 'settings' => array(
  1010. 'entity_translation_sync' => FALSE,
  1011. 'user_register_form' => FALSE,
  1012. ),
  1013. 'widget' => array(
  1014. 'active' => 1,
  1015. 'module' => 'entityreference',
  1016. 'settings' => array(
  1017. 'match_operator' => 'CONTAINS',
  1018. 'path' => '',
  1019. 'size' => 60,
  1020. ),
  1021. 'type' => 'entityreference_autocomplete',
  1022. 'weight' => 100,
  1023. ),
  1024. );
  1025. // Exported field_instance: 'node-thematique-field_ecouter'.
  1026. $field_instances['node-thematique-field_ecouter'] = array(
  1027. 'bundle' => 'thematique',
  1028. 'default_value' => NULL,
  1029. 'deleted' => 0,
  1030. 'description' => '',
  1031. 'display' => array(
  1032. 'accueil' => array(
  1033. 'label' => 'hidden',
  1034. 'module' => 'taxonomy',
  1035. 'settings' => array(),
  1036. 'type' => 'taxonomy_term_reference_plain',
  1037. 'weight' => 10,
  1038. ),
  1039. 'default' => array(
  1040. 'label' => 'above',
  1041. 'module' => 'taxonomy',
  1042. 'settings' => array(),
  1043. 'type' => 'taxonomy_term_reference_link',
  1044. 'weight' => 5,
  1045. ),
  1046. 'teaser' => array(
  1047. 'label' => 'above',
  1048. 'settings' => array(),
  1049. 'type' => 'hidden',
  1050. 'weight' => 6,
  1051. ),
  1052. ),
  1053. 'entity_type' => 'node',
  1054. 'field_name' => 'field_ecouter',
  1055. 'label' => 'Écouter',
  1056. 'required' => 0,
  1057. 'settings' => array(
  1058. 'entity_translation_sync' => FALSE,
  1059. 'user_register_form' => FALSE,
  1060. ),
  1061. 'widget' => array(
  1062. 'active' => 1,
  1063. 'module' => 'field_extrawidgets',
  1064. 'settings' => array(
  1065. 'display_empty' => 0,
  1066. 'formatter' => 'taxonomy_term_reference_plain',
  1067. 'formatter_settings' => array(),
  1068. ),
  1069. 'type' => 'field_extrawidgets_read_only',
  1070. 'weight' => 5,
  1071. ),
  1072. );
  1073. // Exported field_instance: 'node-thematique-field_emvideo'.
  1074. $field_instances['node-thematique-field_emvideo'] = array(
  1075. 'bundle' => 'thematique',
  1076. 'default_value' => NULL,
  1077. 'deleted' => 0,
  1078. 'description' => '',
  1079. 'display' => array(
  1080. 'accueil' => array(
  1081. 'label' => 'hidden',
  1082. 'module' => 'video_embed_field',
  1083. 'settings' => array(
  1084. 'description' => 1,
  1085. 'description_position' => 'bottom',
  1086. 'image_link' => 'source',
  1087. 'image_style' => 'video_thumb_themat',
  1088. ),
  1089. 'type' => 'video_embed_field_thumbnail',
  1090. 'weight' => 8,
  1091. ),
  1092. 'default' => array(
  1093. 'label' => 'above',
  1094. 'module' => 'video_embed_field',
  1095. 'settings' => array(
  1096. 'description' => 1,
  1097. 'description_position' => 'bottom',
  1098. 'video_style' => 'normal',
  1099. ),
  1100. 'type' => 'video_embed_field',
  1101. 'weight' => 7,
  1102. ),
  1103. 'teaser' => array(
  1104. 'label' => 'hidden',
  1105. 'module' => 'video_embed_field_overlay',
  1106. 'settings' => array(
  1107. 'description' => 1,
  1108. 'image_style' => 'video_thumb_themat',
  1109. 'overlay' => 'dom-window',
  1110. 'show_thumbnail' => 1,
  1111. 'video_style' => 'normal',
  1112. ),
  1113. 'type' => 'video_embed_field_overlay',
  1114. 'weight' => 8,
  1115. ),
  1116. ),
  1117. 'entity_type' => 'node',
  1118. 'field_name' => 'field_emvideo',
  1119. 'label' => 'Video',
  1120. 'required' => 0,
  1121. 'settings' => array(
  1122. 'allowed_providers' => array(
  1123. 'vimeo' => 'vimeo',
  1124. 'youtube' => 'youtube',
  1125. ),
  1126. 'description_field' => 0,
  1127. 'description_length' => 128,
  1128. 'entity_translation_sync' => FALSE,
  1129. 'user_register_form' => FALSE,
  1130. ),
  1131. 'widget' => array(
  1132. 'active' => 0,
  1133. 'module' => 'video_embed_field',
  1134. 'settings' => array(),
  1135. 'type' => 'video_embed_field_video',
  1136. 'weight' => 101,
  1137. ),
  1138. );
  1139. // Exported field_instance: 'node-thematique-field_episodes'.
  1140. $field_instances['node-thematique-field_episodes'] = array(
  1141. 'bundle' => 'thematique',
  1142. 'default_value' => NULL,
  1143. 'deleted' => 0,
  1144. 'description' => '',
  1145. 'display' => array(
  1146. 'accueil' => array(
  1147. 'label' => 'above',
  1148. 'module' => 'entityreference',
  1149. 'settings' => array(
  1150. 'links' => 0,
  1151. 'use_content_language' => 1,
  1152. 'view_mode' => 'accueil',
  1153. ),
  1154. 'type' => 'entityreference_entity_view',
  1155. 'weight' => 5,
  1156. ),
  1157. 'default' => array(
  1158. 'label' => 'above',
  1159. 'module' => 'entityreference',
  1160. 'settings' => array(
  1161. 'link' => FALSE,
  1162. ),
  1163. 'type' => 'entityreference_label',
  1164. 'weight' => 3,
  1165. ),
  1166. 'teaser' => array(
  1167. 'label' => 'hidden',
  1168. 'settings' => array(),
  1169. 'type' => 'hidden',
  1170. 'weight' => 2,
  1171. ),
  1172. ),
  1173. 'entity_type' => 'node',
  1174. 'field_name' => 'field_episodes',
  1175. 'label' => 'À la maison commune',
  1176. 'required' => 0,
  1177. 'settings' => array(
  1178. 'entity_translation_sync' => FALSE,
  1179. 'user_register_form' => FALSE,
  1180. ),
  1181. 'widget' => array(
  1182. 'active' => 1,
  1183. 'module' => 'entityreference',
  1184. 'settings' => array(
  1185. 'match_operator' => 'CONTAINS',
  1186. 'path' => '',
  1187. 'size' => 60,
  1188. ),
  1189. 'type' => 'entityreference_autocomplete',
  1190. 'weight' => 7,
  1191. ),
  1192. );
  1193. // Exported field_instance: 'node-thematique-field_poid'.
  1194. $field_instances['node-thematique-field_poid'] = array(
  1195. 'bundle' => 'thematique',
  1196. 'default_value' => array(
  1197. 0 => array(
  1198. 'value' => 0,
  1199. ),
  1200. ),
  1201. 'deleted' => 0,
  1202. 'description' => '',
  1203. 'display' => array(
  1204. 'accueil' => array(
  1205. 'label' => 'above',
  1206. 'settings' => array(),
  1207. 'type' => 'hidden',
  1208. 'weight' => 7,
  1209. ),
  1210. 'default' => array(
  1211. 'label' => 'above',
  1212. 'module' => 'number',
  1213. 'settings' => array(
  1214. 'decimal_separator' => '.',
  1215. 'prefix_suffix' => TRUE,
  1216. 'scale' => 0,
  1217. 'thousand_separator' => '',
  1218. ),
  1219. 'type' => 'number_integer',
  1220. 'weight' => 8,
  1221. ),
  1222. 'teaser' => array(
  1223. 'label' => 'above',
  1224. 'settings' => array(),
  1225. 'type' => 'hidden',
  1226. 'weight' => 8,
  1227. ),
  1228. ),
  1229. 'entity_type' => 'node',
  1230. 'field_name' => 'field_poid',
  1231. 'label' => 'Poid',
  1232. 'required' => 1,
  1233. 'settings' => array(
  1234. 'entity_translation_sync' => FALSE,
  1235. 'max' => 10,
  1236. 'min' => 0,
  1237. 'prefix' => '',
  1238. 'suffix' => '',
  1239. 'user_register_form' => FALSE,
  1240. ),
  1241. 'widget' => array(
  1242. 'active' => 0,
  1243. 'module' => 'number',
  1244. 'settings' => array(),
  1245. 'type' => 'number',
  1246. 'weight' => 1,
  1247. ),
  1248. );
  1249. // Translatables
  1250. // Included for use with string extractors like potx.
  1251. t('Bidirectional');
  1252. t('Body');
  1253. t('Description');
  1254. t('Doc');
  1255. t('Enabled');
  1256. t('Habiter');
  1257. t('Left Field');
  1258. t('Legende');
  1259. t('Poid');
  1260. t('Right Field');
  1261. t('Thématique');
  1262. t('Titre');
  1263. t('Video');
  1264. t('Weight');
  1265. t('À la maison commune');
  1266. t('Écouter');
  1267. t('éclairages');
  1268. return $field_instances;
  1269. }