clameurs.features.field_instance.inc 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414
  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. 'attente' => array(
  232. 'label' => 'above',
  233. 'settings' => array(),
  234. 'type' => 'hidden',
  235. 'weight' => 0,
  236. ),
  237. 'default' => array(
  238. 'label' => 'hidden',
  239. 'module' => 'text',
  240. 'settings' => array(),
  241. 'type' => 'text_default',
  242. 'weight' => 0,
  243. ),
  244. 'teaser' => array(
  245. 'label' => 'hidden',
  246. 'module' => 'text',
  247. 'settings' => array(
  248. 'trim_length' => 600,
  249. ),
  250. 'type' => 'text_summary_or_trimmed',
  251. 'weight' => 1,
  252. ),
  253. ),
  254. 'entity_type' => 'node',
  255. 'field_name' => 'body',
  256. 'label' => 'Body',
  257. 'required' => FALSE,
  258. 'settings' => array(
  259. 'display_summary' => TRUE,
  260. 'entity_translation_sync' => FALSE,
  261. 'text_processing' => 1,
  262. 'user_register_form' => FALSE,
  263. ),
  264. 'widget' => array(
  265. 'module' => 'text',
  266. 'settings' => array(
  267. 'rows' => 20,
  268. 'summary_rows' => 5,
  269. ),
  270. 'type' => 'text_textarea_with_summary',
  271. 'weight' => 5,
  272. ),
  273. );
  274. // Exported field_instance: 'node-documentair-field_description'.
  275. $field_instances['node-documentair-field_description'] = array(
  276. 'bundle' => 'documentair',
  277. 'default_value' => NULL,
  278. 'deleted' => 0,
  279. 'description' => '',
  280. 'display' => array(
  281. 'accueil' => array(
  282. 'label' => 'above',
  283. 'settings' => array(),
  284. 'type' => 'hidden',
  285. 'weight' => 6,
  286. ),
  287. 'attente' => array(
  288. 'label' => 'above',
  289. 'settings' => array(),
  290. 'type' => 'hidden',
  291. 'weight' => 0,
  292. ),
  293. 'default' => array(
  294. 'label' => 'above',
  295. 'module' => 'text',
  296. 'settings' => array(),
  297. 'type' => 'text_default',
  298. 'weight' => 4,
  299. ),
  300. 'teaser' => array(
  301. 'label' => 'above',
  302. 'settings' => array(),
  303. 'type' => 'hidden',
  304. 'weight' => 6,
  305. ),
  306. ),
  307. 'entity_type' => 'node',
  308. 'field_name' => 'field_description',
  309. 'label' => 'Description',
  310. 'required' => 0,
  311. 'settings' => array(
  312. 'entity_translation_sync' => FALSE,
  313. 'linkit' => array(
  314. 'button_text' => 'Recherche',
  315. 'enable' => 0,
  316. 'profile' => '',
  317. ),
  318. 'text_processing' => 1,
  319. 'user_register_form' => FALSE,
  320. ),
  321. 'widget' => array(
  322. 'active' => 1,
  323. 'module' => 'text',
  324. 'settings' => array(
  325. 'rows' => 5,
  326. ),
  327. 'type' => 'text_textarea',
  328. 'weight' => 103,
  329. ),
  330. );
  331. // Exported field_instance: 'node-documentair-field_doc'.
  332. $field_instances['node-documentair-field_doc'] = array(
  333. 'bundle' => 'documentair',
  334. 'default_value' => NULL,
  335. 'deleted' => 0,
  336. 'description' => '',
  337. 'display' => array(
  338. 'accueil' => array(
  339. 'label' => 'hidden',
  340. 'module' => 'entityreference',
  341. 'settings' => array(
  342. 'link' => FALSE,
  343. ),
  344. 'type' => 'entityreference_label',
  345. 'weight' => 0,
  346. ),
  347. 'attente' => array(
  348. 'label' => 'above',
  349. 'settings' => array(),
  350. 'type' => 'hidden',
  351. 'weight' => 0,
  352. ),
  353. 'default' => array(
  354. 'label' => 'above',
  355. 'module' => 'entityreference',
  356. 'settings' => array(
  357. 'link' => FALSE,
  358. ),
  359. 'type' => 'entityreference_label',
  360. 'weight' => 1,
  361. ),
  362. 'teaser' => array(
  363. 'label' => 'hidden',
  364. 'module' => 'entityreference',
  365. 'settings' => array(
  366. 'link' => FALSE,
  367. ),
  368. 'type' => 'entityreference_label',
  369. 'weight' => 0,
  370. ),
  371. ),
  372. 'entity_type' => 'node',
  373. 'field_name' => 'field_doc',
  374. 'label' => 'Doc',
  375. 'required' => 0,
  376. 'settings' => array(
  377. 'behaviors' => array(
  378. 'taxonomy-index' => array(
  379. 'status' => TRUE,
  380. ),
  381. ),
  382. 'entity_translation_sync' => FALSE,
  383. 'user_register_form' => FALSE,
  384. ),
  385. 'widget' => array(
  386. 'active' => 1,
  387. 'module' => 'options',
  388. 'settings' => array(),
  389. 'type' => 'options_select',
  390. 'weight' => 1,
  391. ),
  392. );
  393. // Exported field_instance: 'node-documentair-field_emvideo'.
  394. $field_instances['node-documentair-field_emvideo'] = array(
  395. 'bundle' => 'documentair',
  396. 'default_value' => NULL,
  397. 'deleted' => 0,
  398. 'description' => '',
  399. 'display' => array(
  400. 'accueil' => array(
  401. 'label' => 'hidden',
  402. 'module' => 'video_embed_field',
  403. 'settings' => array(
  404. 'description' => 1,
  405. 'description_position' => 'bottom',
  406. 'image_link' => 'source',
  407. 'image_style' => 'video_thumb_docu',
  408. ),
  409. 'type' => 'video_embed_field_thumbnail',
  410. 'weight' => 5,
  411. ),
  412. 'attente' => array(
  413. 'label' => 'above',
  414. 'settings' => array(),
  415. 'type' => 'hidden',
  416. 'weight' => 0,
  417. ),
  418. 'default' => array(
  419. 'label' => 'above',
  420. 'module' => 'video_embed_field',
  421. 'settings' => array(
  422. 'description' => 1,
  423. 'description_position' => 'bottom',
  424. 'video_style' => 'normal',
  425. ),
  426. 'type' => 'video_embed_field',
  427. 'weight' => 5,
  428. ),
  429. 'teaser' => array(
  430. 'label' => 'hidden',
  431. 'module' => 'video_embed_field_overlay',
  432. 'settings' => array(
  433. 'description' => 1,
  434. 'image_style' => 'video_thumb_docu',
  435. 'overlay' => 'dom-window',
  436. 'show_thumbnail' => 1,
  437. 'video_style' => 'normal',
  438. ),
  439. 'type' => 'video_embed_field_overlay',
  440. 'weight' => 2,
  441. ),
  442. ),
  443. 'entity_type' => 'node',
  444. 'field_name' => 'field_emvideo',
  445. 'label' => 'Video',
  446. 'required' => 0,
  447. 'settings' => array(
  448. 'allowed_providers' => array(
  449. 'vimeo' => 'vimeo',
  450. 'youtube' => 'youtube',
  451. ),
  452. 'description_field' => 0,
  453. 'description_length' => 128,
  454. 'entity_translation_sync' => FALSE,
  455. 'user_register_form' => FALSE,
  456. ),
  457. 'widget' => array(
  458. 'active' => 0,
  459. 'module' => 'video_embed_field',
  460. 'settings' => array(),
  461. 'type' => 'video_embed_field_video',
  462. 'weight' => 4,
  463. ),
  464. );
  465. // Exported field_instance: 'node-documentair-field_thematique'.
  466. $field_instances['node-documentair-field_thematique'] = array(
  467. 'bundle' => 'documentair',
  468. 'default_value' => NULL,
  469. 'deleted' => 0,
  470. 'description' => '',
  471. 'display' => array(
  472. 'accueil' => array(
  473. 'label' => 'above',
  474. 'settings' => array(),
  475. 'type' => 'hidden',
  476. 'weight' => 5,
  477. ),
  478. 'attente' => array(
  479. 'label' => 'above',
  480. 'settings' => array(),
  481. 'type' => 'hidden',
  482. 'weight' => 0,
  483. ),
  484. 'default' => array(
  485. 'label' => 'above',
  486. 'module' => 'entityreference',
  487. 'settings' => array(
  488. 'link' => FALSE,
  489. ),
  490. 'type' => 'entityreference_label',
  491. 'weight' => 3,
  492. ),
  493. 'teaser' => array(
  494. 'label' => 'above',
  495. 'settings' => array(),
  496. 'type' => 'hidden',
  497. 'weight' => 5,
  498. ),
  499. ),
  500. 'entity_type' => 'node',
  501. 'field_name' => 'field_thematique',
  502. 'label' => 'Thématique',
  503. 'required' => 0,
  504. 'settings' => array(
  505. 'entity_translation_sync' => FALSE,
  506. 'user_register_form' => FALSE,
  507. ),
  508. 'widget' => array(
  509. 'active' => 1,
  510. 'module' => 'entityreference',
  511. 'settings' => array(
  512. 'match_operator' => 'CONTAINS',
  513. 'path' => '',
  514. 'size' => 60,
  515. ),
  516. 'type' => 'entityreference_autocomplete',
  517. 'weight' => 2,
  518. ),
  519. );
  520. // Exported field_instance: 'node-documentair-title_field'.
  521. $field_instances['node-documentair-title_field'] = array(
  522. 'bundle' => 'documentair',
  523. 'default_value' => NULL,
  524. 'deleted' => 0,
  525. 'description' => '',
  526. 'display' => array(
  527. 'accueil' => array(
  528. 'label' => 'hidden',
  529. 'module' => 'text',
  530. 'settings' => array(),
  531. 'type' => 'text_default',
  532. 'weight' => 1,
  533. ),
  534. 'attente' => array(
  535. 'label' => 'above',
  536. 'settings' => array(),
  537. 'type' => 'hidden',
  538. 'weight' => 0,
  539. ),
  540. 'default' => array(
  541. 'label' => 'above',
  542. 'settings' => array(),
  543. 'type' => 'hidden',
  544. 'weight' => 6,
  545. ),
  546. 'teaser' => array(
  547. 'label' => 'above',
  548. 'settings' => array(),
  549. 'type' => 'hidden',
  550. 'weight' => 0,
  551. ),
  552. ),
  553. 'entity_type' => 'node',
  554. 'field_name' => 'title_field',
  555. 'label' => 'Titre',
  556. 'required' => TRUE,
  557. 'settings' => array(
  558. 'entity_translation_sync' => FALSE,
  559. 'hide_label' => array(
  560. 'entity' => FALSE,
  561. 'page' => FALSE,
  562. ),
  563. 'text_processing' => 0,
  564. 'user_register_form' => FALSE,
  565. ),
  566. 'widget' => array(
  567. 'module' => 'text',
  568. 'settings' => array(
  569. 'size' => 60,
  570. ),
  571. 'type' => 'text_textfield',
  572. 'weight' => 0,
  573. ),
  574. );
  575. // Exported field_instance: 'node-episode-body'.
  576. $field_instances['node-episode-body'] = array(
  577. 'bundle' => 'episode',
  578. 'default_value' => NULL,
  579. 'deleted' => 0,
  580. 'description' => '',
  581. 'display' => array(
  582. 'accueil' => array(
  583. 'label' => 'above',
  584. 'settings' => array(),
  585. 'type' => 'hidden',
  586. 'weight' => 6,
  587. ),
  588. 'attente' => array(
  589. 'label' => 'above',
  590. 'settings' => array(),
  591. 'type' => 'hidden',
  592. 'weight' => 0,
  593. ),
  594. 'default' => array(
  595. 'label' => 'hidden',
  596. 'module' => 'text',
  597. 'settings' => array(),
  598. 'type' => 'text_default',
  599. 'weight' => 0,
  600. ),
  601. 'teaser' => array(
  602. 'label' => 'hidden',
  603. 'module' => 'text',
  604. 'settings' => array(
  605. 'trim_length' => 600,
  606. ),
  607. 'type' => 'text_summary_or_trimmed',
  608. 'weight' => 1,
  609. ),
  610. ),
  611. 'entity_type' => 'node',
  612. 'field_name' => 'body',
  613. 'label' => 'Body',
  614. 'required' => 0,
  615. 'settings' => array(
  616. 'display_summary' => 1,
  617. 'entity_translation_sync' => FALSE,
  618. 'linkit' => array(
  619. 'button_text' => 'Recherche',
  620. 'enable' => 0,
  621. 'profile' => '',
  622. ),
  623. 'text_processing' => 1,
  624. 'user_register_form' => FALSE,
  625. ),
  626. 'widget' => array(
  627. 'active' => 1,
  628. 'module' => 'text',
  629. 'settings' => array(
  630. 'rows' => 20,
  631. 'summary_rows' => 5,
  632. ),
  633. 'type' => 'text_textarea_with_summary',
  634. 'weight' => 2,
  635. ),
  636. );
  637. // Exported field_instance: 'node-episode-field_description'.
  638. $field_instances['node-episode-field_description'] = array(
  639. 'bundle' => 'episode',
  640. 'default_value' => NULL,
  641. 'deleted' => 0,
  642. 'description' => '',
  643. 'display' => array(
  644. 'accueil' => array(
  645. 'label' => 'above',
  646. 'settings' => array(),
  647. 'type' => 'hidden',
  648. 'weight' => 7,
  649. ),
  650. 'attente' => array(
  651. 'label' => 'above',
  652. 'settings' => array(),
  653. 'type' => 'hidden',
  654. 'weight' => 0,
  655. ),
  656. 'default' => array(
  657. 'label' => 'above',
  658. 'module' => 'text',
  659. 'settings' => array(),
  660. 'type' => 'text_default',
  661. 'weight' => 2,
  662. ),
  663. 'teaser' => array(
  664. 'label' => 'above',
  665. 'settings' => array(),
  666. 'type' => 'hidden',
  667. 'weight' => 5,
  668. ),
  669. ),
  670. 'entity_type' => 'node',
  671. 'field_name' => 'field_description',
  672. 'label' => 'Description',
  673. 'required' => 0,
  674. 'settings' => array(
  675. 'entity_translation_sync' => FALSE,
  676. 'linkit' => array(
  677. 'button_text' => 'Recherche',
  678. 'enable' => 0,
  679. 'profile' => '',
  680. ),
  681. 'text_processing' => 0,
  682. 'user_register_form' => FALSE,
  683. ),
  684. 'widget' => array(
  685. 'active' => 1,
  686. 'module' => 'text',
  687. 'settings' => array(
  688. 'rows' => 5,
  689. ),
  690. 'type' => 'text_textarea',
  691. 'weight' => 103,
  692. ),
  693. );
  694. // Exported field_instance: 'node-episode-field_emvideo'.
  695. $field_instances['node-episode-field_emvideo'] = array(
  696. 'bundle' => 'episode',
  697. 'default_value' => NULL,
  698. 'deleted' => 0,
  699. 'description' => '',
  700. 'display' => array(
  701. 'accueil' => array(
  702. 'label' => 'hidden',
  703. 'module' => 'video_embed_field',
  704. 'settings' => array(
  705. 'description' => 1,
  706. 'description_position' => 'bottom',
  707. 'image_link' => 'source',
  708. 'image_style' => 'video_thumb_episode',
  709. ),
  710. 'type' => 'video_embed_field_thumbnail',
  711. 'weight' => 9,
  712. ),
  713. 'attente' => array(
  714. 'label' => 'above',
  715. 'settings' => array(),
  716. 'type' => 'hidden',
  717. 'weight' => 0,
  718. ),
  719. 'default' => array(
  720. 'label' => 'above',
  721. 'module' => 'video_embed_field',
  722. 'settings' => array(
  723. 'description' => 1,
  724. 'description_position' => 'bottom',
  725. 'video_style' => 'normal',
  726. ),
  727. 'type' => 'video_embed_field',
  728. 'weight' => 5,
  729. ),
  730. 'teaser' => array(
  731. 'label' => 'hidden',
  732. 'module' => 'video_embed_field_overlay',
  733. 'settings' => array(
  734. 'description' => 1,
  735. 'image_style' => 'video_thumb_episode',
  736. 'overlay' => 'dom-window',
  737. 'show_thumbnail' => 1,
  738. 'video_style' => 'normal',
  739. ),
  740. 'type' => 'video_embed_field_overlay',
  741. 'weight' => 2,
  742. ),
  743. ),
  744. 'entity_type' => 'node',
  745. 'field_name' => 'field_emvideo',
  746. 'label' => 'Video',
  747. 'required' => 0,
  748. 'settings' => array(
  749. 'allowed_providers' => array(
  750. 'vimeo' => 'vimeo',
  751. 'youtube' => 'youtube',
  752. ),
  753. 'description_field' => 0,
  754. 'description_length' => 128,
  755. 'entity_translation_sync' => FALSE,
  756. 'user_register_form' => FALSE,
  757. ),
  758. 'widget' => array(
  759. 'active' => 0,
  760. 'module' => 'video_embed_field',
  761. 'settings' => array(),
  762. 'type' => 'video_embed_field_video',
  763. 'weight' => 3,
  764. ),
  765. );
  766. // Exported field_instance: 'node-episode-field_habiter'.
  767. $field_instances['node-episode-field_habiter'] = array(
  768. 'bundle' => 'episode',
  769. 'default_value' => NULL,
  770. 'deleted' => 0,
  771. 'description' => '',
  772. 'display' => array(
  773. 'accueil' => array(
  774. 'label' => 'hidden',
  775. 'settings' => array(),
  776. 'type' => 'hidden',
  777. 'weight' => 0,
  778. ),
  779. 'attente' => array(
  780. 'label' => 'above',
  781. 'settings' => array(),
  782. 'type' => 'hidden',
  783. 'weight' => 0,
  784. ),
  785. 'default' => array(
  786. 'label' => 'above',
  787. 'module' => 'entityreference',
  788. 'settings' => array(
  789. 'link' => FALSE,
  790. ),
  791. 'type' => 'entityreference_label',
  792. 'weight' => 3,
  793. ),
  794. 'teaser' => array(
  795. 'label' => 'hidden',
  796. 'module' => 'entityreference',
  797. 'settings' => array(
  798. 'link' => FALSE,
  799. ),
  800. 'type' => 'entityreference_label',
  801. 'weight' => 0,
  802. ),
  803. ),
  804. 'entity_type' => 'node',
  805. 'field_name' => 'field_habiter',
  806. 'label' => 'Habiter',
  807. 'required' => 0,
  808. 'settings' => array(
  809. 'behaviors' => array(
  810. 'taxonomy-index' => array(
  811. 'status' => TRUE,
  812. ),
  813. ),
  814. 'entity_translation_sync' => FALSE,
  815. 'user_register_form' => FALSE,
  816. ),
  817. 'widget' => array(
  818. 'active' => 1,
  819. 'module' => 'field_extrawidgets',
  820. 'settings' => array(
  821. 'display_empty' => 0,
  822. 'formatter' => 'entityreference_label',
  823. 'formatter_settings' => array(
  824. 'link' => 0,
  825. ),
  826. ),
  827. 'type' => 'field_extrawidgets_read_only',
  828. 'weight' => 1,
  829. ),
  830. );
  831. // Exported field_instance: 'node-episode-field_thematique'.
  832. $field_instances['node-episode-field_thematique'] = array(
  833. 'bundle' => 'episode',
  834. 'default_value' => NULL,
  835. 'deleted' => 0,
  836. 'description' => '',
  837. 'display' => array(
  838. 'accueil' => array(
  839. 'label' => 'above',
  840. 'settings' => array(),
  841. 'type' => 'hidden',
  842. 'weight' => 8,
  843. ),
  844. 'attente' => array(
  845. 'label' => 'above',
  846. 'settings' => array(),
  847. 'type' => 'hidden',
  848. 'weight' => 0,
  849. ),
  850. 'default' => array(
  851. 'label' => 'above',
  852. 'module' => 'entityreference',
  853. 'settings' => array(
  854. 'link' => FALSE,
  855. ),
  856. 'type' => 'entityreference_label',
  857. 'weight' => 4,
  858. ),
  859. 'teaser' => array(
  860. 'label' => 'above',
  861. 'settings' => array(),
  862. 'type' => 'hidden',
  863. 'weight' => 6,
  864. ),
  865. ),
  866. 'entity_type' => 'node',
  867. 'field_name' => 'field_thematique',
  868. 'label' => 'Thématique',
  869. 'required' => 0,
  870. 'settings' => array(
  871. 'entity_translation_sync' => FALSE,
  872. 'user_register_form' => FALSE,
  873. ),
  874. 'widget' => array(
  875. 'active' => 1,
  876. 'module' => 'entityreference',
  877. 'settings' => array(
  878. 'match_operator' => 'CONTAINS',
  879. 'path' => '',
  880. 'size' => 60,
  881. ),
  882. 'type' => 'entityreference_autocomplete',
  883. 'weight' => 2,
  884. ),
  885. );
  886. // Exported field_instance: 'node-episode-title_field'.
  887. $field_instances['node-episode-title_field'] = array(
  888. 'bundle' => 'episode',
  889. 'default_value' => NULL,
  890. 'deleted' => 0,
  891. 'description' => '',
  892. 'display' => array(
  893. 'accueil' => array(
  894. 'label' => 'hidden',
  895. 'module' => 'text',
  896. 'settings' => array(),
  897. 'type' => 'text_default',
  898. 'weight' => 3,
  899. ),
  900. 'attente' => array(
  901. 'label' => 'above',
  902. 'settings' => array(),
  903. 'type' => 'hidden',
  904. 'weight' => 0,
  905. ),
  906. 'default' => array(
  907. 'label' => 'above',
  908. 'settings' => array(),
  909. 'type' => 'hidden',
  910. 'weight' => 6,
  911. ),
  912. 'teaser' => array(
  913. 'label' => 'above',
  914. 'settings' => array(),
  915. 'type' => 'hidden',
  916. 'weight' => 0,
  917. ),
  918. ),
  919. 'entity_type' => 'node',
  920. 'field_name' => 'title_field',
  921. 'label' => 'Titre',
  922. 'required' => TRUE,
  923. 'settings' => array(
  924. 'entity_translation_sync' => FALSE,
  925. 'hide_label' => array(
  926. 'entity' => FALSE,
  927. 'page' => FALSE,
  928. ),
  929. 'text_processing' => 0,
  930. 'user_register_form' => FALSE,
  931. ),
  932. 'widget' => array(
  933. 'module' => 'text',
  934. 'settings' => array(
  935. 'size' => 60,
  936. ),
  937. 'type' => 'text_textfield',
  938. 'weight' => 0,
  939. ),
  940. );
  941. // Exported field_instance: 'node-thematique-body'.
  942. $field_instances['node-thematique-body'] = array(
  943. 'bundle' => 'thematique',
  944. 'default_value' => NULL,
  945. 'deleted' => 0,
  946. 'description' => '',
  947. 'display' => array(
  948. 'accueil' => array(
  949. 'label' => 'hidden',
  950. 'module' => 'text',
  951. 'settings' => array(),
  952. 'type' => 'text_default',
  953. 'weight' => 3,
  954. ),
  955. 'attente' => array(
  956. 'label' => 'hidden',
  957. 'module' => 'text',
  958. 'settings' => array(
  959. 'trim_length' => 600,
  960. ),
  961. 'type' => 'text_summary_or_trimmed',
  962. 'weight' => 1,
  963. ),
  964. 'default' => array(
  965. 'label' => 'hidden',
  966. 'module' => 'text',
  967. 'settings' => array(),
  968. 'type' => 'text_default',
  969. 'weight' => 0,
  970. ),
  971. 'teaser' => array(
  972. 'label' => 'hidden',
  973. 'module' => 'text',
  974. 'settings' => array(),
  975. 'type' => 'text_default',
  976. 'weight' => 1,
  977. ),
  978. ),
  979. 'entity_type' => 'node',
  980. 'field_name' => 'body',
  981. 'label' => 'Body',
  982. 'required' => FALSE,
  983. 'settings' => array(
  984. 'display_summary' => TRUE,
  985. 'entity_translation_sync' => FALSE,
  986. 'text_processing' => 1,
  987. 'user_register_form' => FALSE,
  988. ),
  989. 'widget' => array(
  990. 'module' => 'text',
  991. 'settings' => array(
  992. 'rows' => 20,
  993. 'summary_rows' => 5,
  994. ),
  995. 'type' => 'text_textarea_with_summary',
  996. 'weight' => 4,
  997. ),
  998. );
  999. // Exported field_instance: 'node-thematique-field_description'.
  1000. $field_instances['node-thematique-field_description'] = array(
  1001. 'bundle' => 'thematique',
  1002. 'default_value' => NULL,
  1003. 'deleted' => 0,
  1004. 'description' => '',
  1005. 'display' => array(
  1006. 'accueil' => array(
  1007. 'label' => 'hidden',
  1008. 'module' => 'text',
  1009. 'settings' => array(),
  1010. 'type' => 'text_default',
  1011. 'weight' => 11,
  1012. ),
  1013. 'attente' => array(
  1014. 'label' => 'above',
  1015. 'settings' => array(),
  1016. 'type' => 'hidden',
  1017. 'weight' => 4,
  1018. ),
  1019. 'default' => array(
  1020. 'label' => 'above',
  1021. 'module' => 'text',
  1022. 'settings' => array(),
  1023. 'type' => 'text_default',
  1024. 'weight' => 2,
  1025. ),
  1026. 'teaser' => array(
  1027. 'label' => 'hidden',
  1028. 'module' => 'text',
  1029. 'settings' => array(),
  1030. 'type' => 'text_default',
  1031. 'weight' => 9,
  1032. ),
  1033. ),
  1034. 'entity_type' => 'node',
  1035. 'field_name' => 'field_description',
  1036. 'label' => 'Description',
  1037. 'required' => 0,
  1038. 'settings' => array(
  1039. 'entity_translation_sync' => FALSE,
  1040. 'linkit' => array(
  1041. 'button_text' => 'Recherche',
  1042. 'enable' => 0,
  1043. 'profile' => '',
  1044. ),
  1045. 'text_processing' => 1,
  1046. 'user_register_form' => FALSE,
  1047. ),
  1048. 'widget' => array(
  1049. 'active' => 1,
  1050. 'module' => 'text',
  1051. 'settings' => array(
  1052. 'rows' => 5,
  1053. ),
  1054. 'type' => 'text_textarea',
  1055. 'weight' => 103,
  1056. ),
  1057. );
  1058. // Exported field_instance: 'node-thematique-field_eclairages'.
  1059. $field_instances['node-thematique-field_eclairages'] = array(
  1060. 'bundle' => 'thematique',
  1061. 'default_value' => NULL,
  1062. 'deleted' => 0,
  1063. 'description' => '',
  1064. 'display' => array(
  1065. 'accueil' => array(
  1066. 'label' => 'hidden',
  1067. 'module' => 'entityreference',
  1068. 'settings' => array(
  1069. 'links' => 0,
  1070. 'use_content_language' => 1,
  1071. 'view_mode' => 'accueil',
  1072. ),
  1073. 'type' => 'entityreference_entity_view',
  1074. 'weight' => 6,
  1075. ),
  1076. 'attente' => array(
  1077. 'label' => 'above',
  1078. 'settings' => array(),
  1079. 'type' => 'hidden',
  1080. 'weight' => 7,
  1081. ),
  1082. 'default' => array(
  1083. 'label' => 'above',
  1084. 'module' => 'entityreference',
  1085. 'settings' => array(
  1086. 'link' => FALSE,
  1087. ),
  1088. 'type' => 'entityreference_label',
  1089. 'weight' => 6,
  1090. ),
  1091. 'teaser' => array(
  1092. 'label' => 'above',
  1093. 'settings' => array(),
  1094. 'type' => 'hidden',
  1095. 'weight' => 7,
  1096. ),
  1097. ),
  1098. 'entity_type' => 'node',
  1099. 'field_name' => 'field_eclairages',
  1100. 'label' => 'éclairages',
  1101. 'required' => 0,
  1102. 'settings' => array(
  1103. 'entity_translation_sync' => FALSE,
  1104. 'user_register_form' => FALSE,
  1105. ),
  1106. 'widget' => array(
  1107. 'active' => 1,
  1108. 'module' => 'entityreference',
  1109. 'settings' => array(
  1110. 'match_operator' => 'CONTAINS',
  1111. 'path' => '',
  1112. 'size' => 60,
  1113. ),
  1114. 'type' => 'entityreference_autocomplete',
  1115. 'weight' => 100,
  1116. ),
  1117. );
  1118. // Exported field_instance: 'node-thematique-field_ecouter'.
  1119. $field_instances['node-thematique-field_ecouter'] = array(
  1120. 'bundle' => 'thematique',
  1121. 'default_value' => NULL,
  1122. 'deleted' => 0,
  1123. 'description' => '',
  1124. 'display' => array(
  1125. 'accueil' => array(
  1126. 'label' => 'hidden',
  1127. 'module' => 'taxonomy',
  1128. 'settings' => array(),
  1129. 'type' => 'taxonomy_term_reference_plain',
  1130. 'weight' => 10,
  1131. ),
  1132. 'attente' => array(
  1133. 'label' => 'above',
  1134. 'settings' => array(),
  1135. 'type' => 'hidden',
  1136. 'weight' => 6,
  1137. ),
  1138. 'default' => array(
  1139. 'label' => 'above',
  1140. 'module' => 'taxonomy',
  1141. 'settings' => array(),
  1142. 'type' => 'taxonomy_term_reference_link',
  1143. 'weight' => 5,
  1144. ),
  1145. 'teaser' => array(
  1146. 'label' => 'above',
  1147. 'settings' => array(),
  1148. 'type' => 'hidden',
  1149. 'weight' => 6,
  1150. ),
  1151. ),
  1152. 'entity_type' => 'node',
  1153. 'field_name' => 'field_ecouter',
  1154. 'label' => 'Écouter',
  1155. 'required' => 0,
  1156. 'settings' => array(
  1157. 'entity_translation_sync' => FALSE,
  1158. 'user_register_form' => FALSE,
  1159. ),
  1160. 'widget' => array(
  1161. 'active' => 1,
  1162. 'module' => 'field_extrawidgets',
  1163. 'settings' => array(
  1164. 'display_empty' => 0,
  1165. 'formatter' => 'taxonomy_term_reference_plain',
  1166. 'formatter_settings' => array(),
  1167. ),
  1168. 'type' => 'field_extrawidgets_read_only',
  1169. 'weight' => 5,
  1170. ),
  1171. );
  1172. // Exported field_instance: 'node-thematique-field_emvideo'.
  1173. $field_instances['node-thematique-field_emvideo'] = array(
  1174. 'bundle' => 'thematique',
  1175. 'default_value' => NULL,
  1176. 'deleted' => 0,
  1177. 'description' => '',
  1178. 'display' => array(
  1179. 'accueil' => array(
  1180. 'label' => 'hidden',
  1181. 'module' => 'video_embed_field',
  1182. 'settings' => array(
  1183. 'description' => 1,
  1184. 'description_position' => 'bottom',
  1185. 'image_link' => 'source',
  1186. 'image_style' => 'video_thumb_themat',
  1187. ),
  1188. 'type' => 'video_embed_field_thumbnail',
  1189. 'weight' => 8,
  1190. ),
  1191. 'attente' => array(
  1192. 'label' => 'above',
  1193. 'settings' => array(),
  1194. 'type' => 'hidden',
  1195. 'weight' => 8,
  1196. ),
  1197. 'default' => array(
  1198. 'label' => 'above',
  1199. 'module' => 'video_embed_field',
  1200. 'settings' => array(
  1201. 'description' => 1,
  1202. 'description_position' => 'bottom',
  1203. 'video_style' => 'normal',
  1204. ),
  1205. 'type' => 'video_embed_field',
  1206. 'weight' => 7,
  1207. ),
  1208. 'teaser' => array(
  1209. 'label' => 'hidden',
  1210. 'module' => 'video_embed_field_overlay',
  1211. 'settings' => array(
  1212. 'description' => 1,
  1213. 'image_style' => 'video_thumb_themat',
  1214. 'overlay' => 'dom-window',
  1215. 'show_thumbnail' => 1,
  1216. 'video_style' => 'normal',
  1217. ),
  1218. 'type' => 'video_embed_field_overlay',
  1219. 'weight' => 8,
  1220. ),
  1221. ),
  1222. 'entity_type' => 'node',
  1223. 'field_name' => 'field_emvideo',
  1224. 'label' => 'Video',
  1225. 'required' => 0,
  1226. 'settings' => array(
  1227. 'allowed_providers' => array(
  1228. 'vimeo' => 'vimeo',
  1229. 'youtube' => 'youtube',
  1230. ),
  1231. 'description_field' => 0,
  1232. 'description_length' => 128,
  1233. 'entity_translation_sync' => FALSE,
  1234. 'user_register_form' => FALSE,
  1235. ),
  1236. 'widget' => array(
  1237. 'active' => 0,
  1238. 'module' => 'video_embed_field',
  1239. 'settings' => array(),
  1240. 'type' => 'video_embed_field_video',
  1241. 'weight' => 101,
  1242. ),
  1243. );
  1244. // Exported field_instance: 'node-thematique-field_episodes'.
  1245. $field_instances['node-thematique-field_episodes'] = array(
  1246. 'bundle' => 'thematique',
  1247. 'default_value' => NULL,
  1248. 'deleted' => 0,
  1249. 'description' => '',
  1250. 'display' => array(
  1251. 'accueil' => array(
  1252. 'label' => 'above',
  1253. 'module' => 'entityreference',
  1254. 'settings' => array(
  1255. 'links' => 0,
  1256. 'use_content_language' => 1,
  1257. 'view_mode' => 'accueil',
  1258. ),
  1259. 'type' => 'entityreference_entity_view',
  1260. 'weight' => 5,
  1261. ),
  1262. 'attente' => array(
  1263. 'label' => 'above',
  1264. 'settings' => array(),
  1265. 'type' => 'hidden',
  1266. 'weight' => 5,
  1267. ),
  1268. 'default' => array(
  1269. 'label' => 'above',
  1270. 'module' => 'entityreference',
  1271. 'settings' => array(
  1272. 'link' => FALSE,
  1273. ),
  1274. 'type' => 'entityreference_label',
  1275. 'weight' => 3,
  1276. ),
  1277. 'teaser' => array(
  1278. 'label' => 'hidden',
  1279. 'settings' => array(),
  1280. 'type' => 'hidden',
  1281. 'weight' => 2,
  1282. ),
  1283. ),
  1284. 'entity_type' => 'node',
  1285. 'field_name' => 'field_episodes',
  1286. 'label' => 'À la maison commune',
  1287. 'required' => 0,
  1288. 'settings' => array(
  1289. 'entity_translation_sync' => FALSE,
  1290. 'user_register_form' => FALSE,
  1291. ),
  1292. 'widget' => array(
  1293. 'active' => 1,
  1294. 'module' => 'entityreference',
  1295. 'settings' => array(
  1296. 'match_operator' => 'CONTAINS',
  1297. 'path' => '',
  1298. 'size' => 60,
  1299. ),
  1300. 'type' => 'entityreference_autocomplete',
  1301. 'weight' => 7,
  1302. ),
  1303. );
  1304. // Exported field_instance: 'node-thematique-field_poid'.
  1305. $field_instances['node-thematique-field_poid'] = array(
  1306. 'bundle' => 'thematique',
  1307. 'default_value' => array(
  1308. 0 => array(
  1309. 'value' => 0,
  1310. ),
  1311. ),
  1312. 'deleted' => 0,
  1313. 'description' => '',
  1314. 'display' => array(
  1315. 'accueil' => array(
  1316. 'label' => 'above',
  1317. 'settings' => array(),
  1318. 'type' => 'hidden',
  1319. 'weight' => 7,
  1320. ),
  1321. 'attente' => array(
  1322. 'label' => 'above',
  1323. 'settings' => array(),
  1324. 'type' => 'hidden',
  1325. 'weight' => 9,
  1326. ),
  1327. 'default' => array(
  1328. 'label' => 'above',
  1329. 'module' => 'number',
  1330. 'settings' => array(
  1331. 'decimal_separator' => '.',
  1332. 'prefix_suffix' => TRUE,
  1333. 'scale' => 0,
  1334. 'thousand_separator' => '',
  1335. ),
  1336. 'type' => 'number_integer',
  1337. 'weight' => 8,
  1338. ),
  1339. 'teaser' => array(
  1340. 'label' => 'above',
  1341. 'settings' => array(),
  1342. 'type' => 'hidden',
  1343. 'weight' => 8,
  1344. ),
  1345. ),
  1346. 'entity_type' => 'node',
  1347. 'field_name' => 'field_poid',
  1348. 'label' => 'Poid',
  1349. 'required' => 1,
  1350. 'settings' => array(
  1351. 'entity_translation_sync' => FALSE,
  1352. 'max' => 10,
  1353. 'min' => 0,
  1354. 'prefix' => '',
  1355. 'suffix' => '',
  1356. 'user_register_form' => FALSE,
  1357. ),
  1358. 'widget' => array(
  1359. 'active' => 0,
  1360. 'module' => 'number',
  1361. 'settings' => array(),
  1362. 'type' => 'number',
  1363. 'weight' => 1,
  1364. ),
  1365. );
  1366. // Translatables
  1367. // Included for use with string extractors like potx.
  1368. t('Bidirectional');
  1369. t('Body');
  1370. t('Description');
  1371. t('Doc');
  1372. t('Enabled');
  1373. t('Habiter');
  1374. t('Left Field');
  1375. t('Legende');
  1376. t('Poid');
  1377. t('Right Field');
  1378. t('Thématique');
  1379. t('Titre');
  1380. t('Video');
  1381. t('Weight');
  1382. t('À la maison commune');
  1383. t('Écouter');
  1384. t('éclairages');
  1385. return $field_instances;
  1386. }