clameurs.features.field_instance.inc 28 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088
  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-field_doc'.
  219. $field_instances['node-documentair-field_doc'] = array(
  220. 'bundle' => 'documentair',
  221. 'default_value' => NULL,
  222. 'deleted' => 0,
  223. 'description' => '',
  224. 'display' => array(
  225. 'accueil' => array(
  226. 'label' => 'hidden',
  227. 'module' => 'entityreference',
  228. 'settings' => array(
  229. 'link' => FALSE,
  230. ),
  231. 'type' => 'entityreference_label',
  232. 'weight' => 0,
  233. ),
  234. 'default' => array(
  235. 'label' => 'above',
  236. 'module' => 'entityreference',
  237. 'settings' => array(
  238. 'link' => FALSE,
  239. ),
  240. 'type' => 'entityreference_label',
  241. 'weight' => 1,
  242. ),
  243. 'teaser' => array(
  244. 'label' => 'hidden',
  245. 'module' => 'entityreference',
  246. 'settings' => array(
  247. 'link' => FALSE,
  248. ),
  249. 'type' => 'entityreference_label',
  250. 'weight' => 0,
  251. ),
  252. ),
  253. 'entity_type' => 'node',
  254. 'field_name' => 'field_doc',
  255. 'label' => 'Doc',
  256. 'required' => 0,
  257. 'settings' => array(
  258. 'behaviors' => array(
  259. 'taxonomy-index' => array(
  260. 'status' => TRUE,
  261. ),
  262. ),
  263. 'entity_translation_sync' => FALSE,
  264. 'user_register_form' => FALSE,
  265. ),
  266. 'widget' => array(
  267. 'active' => 1,
  268. 'module' => 'options',
  269. 'settings' => array(),
  270. 'type' => 'options_select',
  271. 'weight' => 1,
  272. ),
  273. );
  274. // Exported field_instance: 'node-documentair-field_emvideo'.
  275. $field_instances['node-documentair-field_emvideo'] = array(
  276. 'bundle' => 'documentair',
  277. 'default_value' => NULL,
  278. 'deleted' => 0,
  279. 'description' => '',
  280. 'display' => array(
  281. 'accueil' => array(
  282. 'label' => 'hidden',
  283. 'module' => 'video_embed_field_overlay',
  284. 'settings' => array(
  285. 'description' => 1,
  286. 'image_style' => 'video_thumb_docu',
  287. 'overlay' => 'dom-window',
  288. 'show_thumbnail' => 1,
  289. 'video_style' => 'normal',
  290. ),
  291. 'type' => 'video_embed_field_overlay',
  292. 'weight' => 5,
  293. ),
  294. 'default' => array(
  295. 'label' => 'above',
  296. 'module' => 'video_embed_field',
  297. 'settings' => array(
  298. 'description' => 1,
  299. 'description_position' => 'bottom',
  300. 'video_style' => 'normal',
  301. ),
  302. 'type' => 'video_embed_field',
  303. 'weight' => 5,
  304. ),
  305. 'teaser' => array(
  306. 'label' => 'hidden',
  307. 'module' => 'video_embed_field_overlay',
  308. 'settings' => array(
  309. 'description' => 1,
  310. 'image_style' => 'video_thumb_docu',
  311. 'overlay' => 'dom-window',
  312. 'show_thumbnail' => 1,
  313. 'video_style' => 'normal',
  314. ),
  315. 'type' => 'video_embed_field_overlay',
  316. 'weight' => 2,
  317. ),
  318. ),
  319. 'entity_type' => 'node',
  320. 'field_name' => 'field_emvideo',
  321. 'label' => 'Video',
  322. 'required' => 0,
  323. 'settings' => array(
  324. 'allowed_providers' => array(
  325. 'vimeo' => 'vimeo',
  326. 'youtube' => 'youtube',
  327. ),
  328. 'description_field' => 0,
  329. 'description_length' => 128,
  330. 'entity_translation_sync' => FALSE,
  331. 'user_register_form' => FALSE,
  332. ),
  333. 'widget' => array(
  334. 'active' => 0,
  335. 'module' => 'video_embed_field',
  336. 'settings' => array(),
  337. 'type' => 'video_embed_field_video',
  338. 'weight' => 4,
  339. ),
  340. );
  341. // Exported field_instance: 'node-documentair-field_thematique'.
  342. $field_instances['node-documentair-field_thematique'] = array(
  343. 'bundle' => 'documentair',
  344. 'default_value' => NULL,
  345. 'deleted' => 0,
  346. 'description' => '',
  347. 'display' => array(
  348. 'accueil' => array(
  349. 'label' => 'above',
  350. 'settings' => array(),
  351. 'type' => 'hidden',
  352. 'weight' => 5,
  353. ),
  354. 'default' => array(
  355. 'label' => 'above',
  356. 'module' => 'entityreference',
  357. 'settings' => array(
  358. 'link' => FALSE,
  359. ),
  360. 'type' => 'entityreference_label',
  361. 'weight' => 3,
  362. ),
  363. 'teaser' => array(
  364. 'label' => 'above',
  365. 'settings' => array(),
  366. 'type' => 'hidden',
  367. 'weight' => 5,
  368. ),
  369. ),
  370. 'entity_type' => 'node',
  371. 'field_name' => 'field_thematique',
  372. 'label' => 'Thématique',
  373. 'required' => 0,
  374. 'settings' => array(
  375. 'entity_translation_sync' => FALSE,
  376. 'user_register_form' => FALSE,
  377. ),
  378. 'widget' => array(
  379. 'active' => 1,
  380. 'module' => 'entityreference',
  381. 'settings' => array(
  382. 'match_operator' => 'CONTAINS',
  383. 'path' => '',
  384. 'size' => 60,
  385. ),
  386. 'type' => 'entityreference_autocomplete',
  387. 'weight' => 2,
  388. ),
  389. );
  390. // Exported field_instance: 'node-documentair-title_field'.
  391. $field_instances['node-documentair-title_field'] = array(
  392. 'bundle' => 'documentair',
  393. 'default_value' => NULL,
  394. 'deleted' => 0,
  395. 'description' => '',
  396. 'display' => array(
  397. 'accueil' => array(
  398. 'label' => 'hidden',
  399. 'module' => 'text',
  400. 'settings' => array(),
  401. 'type' => 'text_default',
  402. 'weight' => 1,
  403. ),
  404. 'default' => array(
  405. 'label' => 'above',
  406. 'settings' => array(),
  407. 'type' => 'hidden',
  408. 'weight' => 6,
  409. ),
  410. 'teaser' => array(
  411. 'label' => 'above',
  412. 'settings' => array(),
  413. 'type' => 'hidden',
  414. 'weight' => 0,
  415. ),
  416. ),
  417. 'entity_type' => 'node',
  418. 'field_name' => 'title_field',
  419. 'label' => 'Titre',
  420. 'required' => TRUE,
  421. 'settings' => array(
  422. 'entity_translation_sync' => FALSE,
  423. 'hide_label' => array(
  424. 'entity' => FALSE,
  425. 'page' => FALSE,
  426. ),
  427. 'text_processing' => 0,
  428. 'user_register_form' => FALSE,
  429. ),
  430. 'widget' => array(
  431. 'module' => 'text',
  432. 'settings' => array(
  433. 'size' => 60,
  434. ),
  435. 'type' => 'text_textfield',
  436. 'weight' => 0,
  437. ),
  438. );
  439. // Exported field_instance: 'node-episode-field_emvideo'.
  440. $field_instances['node-episode-field_emvideo'] = array(
  441. 'bundle' => 'episode',
  442. 'default_value' => NULL,
  443. 'deleted' => 0,
  444. 'description' => '',
  445. 'display' => array(
  446. 'accueil' => array(
  447. 'label' => 'hidden',
  448. 'module' => 'video_embed_field_overlay',
  449. 'settings' => array(
  450. 'description' => 1,
  451. 'image_style' => 'video_thumb_episode',
  452. 'overlay' => 'dom-window',
  453. 'show_thumbnail' => 1,
  454. 'video_style' => 'normal',
  455. ),
  456. 'type' => 'video_embed_field_overlay',
  457. 'weight' => 9,
  458. ),
  459. 'default' => array(
  460. 'label' => 'above',
  461. 'module' => 'video_embed_field',
  462. 'settings' => array(
  463. 'description' => 1,
  464. 'description_position' => 'bottom',
  465. 'video_style' => 'normal',
  466. ),
  467. 'type' => 'video_embed_field',
  468. 'weight' => 5,
  469. ),
  470. 'teaser' => array(
  471. 'label' => 'hidden',
  472. 'module' => 'video_embed_field_overlay',
  473. 'settings' => array(
  474. 'description' => 1,
  475. 'image_style' => 'video_thumb_episode',
  476. 'overlay' => 'dom-window',
  477. 'show_thumbnail' => 1,
  478. 'video_style' => 'normal',
  479. ),
  480. 'type' => 'video_embed_field_overlay',
  481. 'weight' => 2,
  482. ),
  483. ),
  484. 'entity_type' => 'node',
  485. 'field_name' => 'field_emvideo',
  486. 'label' => 'Video',
  487. 'required' => 0,
  488. 'settings' => array(
  489. 'allowed_providers' => array(
  490. 'vimeo' => 'vimeo',
  491. 'youtube' => 'youtube',
  492. ),
  493. 'description_field' => 0,
  494. 'description_length' => 128,
  495. 'entity_translation_sync' => FALSE,
  496. 'user_register_form' => FALSE,
  497. ),
  498. 'widget' => array(
  499. 'active' => 0,
  500. 'module' => 'video_embed_field',
  501. 'settings' => array(),
  502. 'type' => 'video_embed_field_video',
  503. 'weight' => 3,
  504. ),
  505. );
  506. // Exported field_instance: 'node-episode-field_habiter'.
  507. $field_instances['node-episode-field_habiter'] = array(
  508. 'bundle' => 'episode',
  509. 'default_value' => NULL,
  510. 'deleted' => 0,
  511. 'description' => '',
  512. 'display' => array(
  513. 'accueil' => array(
  514. 'label' => 'hidden',
  515. 'settings' => array(),
  516. 'type' => 'hidden',
  517. 'weight' => 0,
  518. ),
  519. 'default' => array(
  520. 'label' => 'above',
  521. 'module' => 'entityreference',
  522. 'settings' => array(
  523. 'link' => FALSE,
  524. ),
  525. 'type' => 'entityreference_label',
  526. 'weight' => 3,
  527. ),
  528. 'teaser' => array(
  529. 'label' => 'hidden',
  530. 'module' => 'entityreference',
  531. 'settings' => array(
  532. 'link' => FALSE,
  533. ),
  534. 'type' => 'entityreference_label',
  535. 'weight' => 0,
  536. ),
  537. ),
  538. 'entity_type' => 'node',
  539. 'field_name' => 'field_habiter',
  540. 'label' => 'Habiter',
  541. 'required' => 0,
  542. 'settings' => array(
  543. 'behaviors' => array(
  544. 'taxonomy-index' => array(
  545. 'status' => TRUE,
  546. ),
  547. ),
  548. 'entity_translation_sync' => FALSE,
  549. 'user_register_form' => FALSE,
  550. ),
  551. 'widget' => array(
  552. 'active' => 1,
  553. 'module' => 'field_extrawidgets',
  554. 'settings' => array(
  555. 'display_empty' => 0,
  556. 'formatter' => 'entityreference_label',
  557. 'formatter_settings' => array(
  558. 'link' => 0,
  559. ),
  560. ),
  561. 'type' => 'field_extrawidgets_read_only',
  562. 'weight' => 1,
  563. ),
  564. );
  565. // Exported field_instance: 'node-episode-field_thematique'.
  566. $field_instances['node-episode-field_thematique'] = array(
  567. 'bundle' => 'episode',
  568. 'default_value' => NULL,
  569. 'deleted' => 0,
  570. 'description' => '',
  571. 'display' => array(
  572. 'accueil' => array(
  573. 'label' => 'above',
  574. 'settings' => array(),
  575. 'type' => 'hidden',
  576. 'weight' => 8,
  577. ),
  578. 'default' => array(
  579. 'label' => 'above',
  580. 'module' => 'entityreference',
  581. 'settings' => array(
  582. 'link' => FALSE,
  583. ),
  584. 'type' => 'entityreference_label',
  585. 'weight' => 4,
  586. ),
  587. 'teaser' => array(
  588. 'label' => 'above',
  589. 'settings' => array(),
  590. 'type' => 'hidden',
  591. 'weight' => 6,
  592. ),
  593. ),
  594. 'entity_type' => 'node',
  595. 'field_name' => 'field_thematique',
  596. 'label' => 'Thématique',
  597. 'required' => 0,
  598. 'settings' => array(
  599. 'entity_translation_sync' => FALSE,
  600. 'user_register_form' => FALSE,
  601. ),
  602. 'widget' => array(
  603. 'active' => 1,
  604. 'module' => 'entityreference',
  605. 'settings' => array(
  606. 'match_operator' => 'CONTAINS',
  607. 'path' => '',
  608. 'size' => 60,
  609. ),
  610. 'type' => 'entityreference_autocomplete',
  611. 'weight' => 2,
  612. ),
  613. );
  614. // Exported field_instance: 'node-episode-title_field'.
  615. $field_instances['node-episode-title_field'] = array(
  616. 'bundle' => 'episode',
  617. 'default_value' => NULL,
  618. 'deleted' => 0,
  619. 'description' => '',
  620. 'display' => array(
  621. 'accueil' => array(
  622. 'label' => 'hidden',
  623. 'module' => 'text',
  624. 'settings' => array(),
  625. 'type' => 'text_default',
  626. 'weight' => 3,
  627. ),
  628. 'default' => array(
  629. 'label' => 'above',
  630. 'settings' => array(),
  631. 'type' => 'hidden',
  632. 'weight' => 6,
  633. ),
  634. 'teaser' => array(
  635. 'label' => 'above',
  636. 'settings' => array(),
  637. 'type' => 'hidden',
  638. 'weight' => 0,
  639. ),
  640. ),
  641. 'entity_type' => 'node',
  642. 'field_name' => 'title_field',
  643. 'label' => 'Titre',
  644. 'required' => TRUE,
  645. 'settings' => array(
  646. 'entity_translation_sync' => FALSE,
  647. 'hide_label' => array(
  648. 'entity' => FALSE,
  649. 'page' => FALSE,
  650. ),
  651. 'text_processing' => 0,
  652. 'user_register_form' => FALSE,
  653. ),
  654. 'widget' => array(
  655. 'module' => 'text',
  656. 'settings' => array(
  657. 'size' => 60,
  658. ),
  659. 'type' => 'text_textfield',
  660. 'weight' => 0,
  661. ),
  662. );
  663. // Exported field_instance: 'node-thematique-body'.
  664. $field_instances['node-thematique-body'] = array(
  665. 'bundle' => 'thematique',
  666. 'default_value' => NULL,
  667. 'deleted' => 0,
  668. 'description' => '',
  669. 'display' => array(
  670. 'accueil' => array(
  671. 'label' => 'hidden',
  672. 'module' => 'text',
  673. 'settings' => array(),
  674. 'type' => 'text_default',
  675. 'weight' => 3,
  676. ),
  677. 'default' => array(
  678. 'label' => 'hidden',
  679. 'module' => 'text',
  680. 'settings' => array(),
  681. 'type' => 'text_default',
  682. 'weight' => 0,
  683. ),
  684. 'teaser' => array(
  685. 'label' => 'hidden',
  686. 'module' => 'text',
  687. 'settings' => array(),
  688. 'type' => 'text_default',
  689. 'weight' => 1,
  690. ),
  691. ),
  692. 'entity_type' => 'node',
  693. 'field_name' => 'body',
  694. 'label' => 'Body',
  695. 'required' => FALSE,
  696. 'settings' => array(
  697. 'display_summary' => TRUE,
  698. 'entity_translation_sync' => FALSE,
  699. 'text_processing' => 1,
  700. 'user_register_form' => FALSE,
  701. ),
  702. 'widget' => array(
  703. 'module' => 'text',
  704. 'settings' => array(
  705. 'rows' => 20,
  706. 'summary_rows' => 5,
  707. ),
  708. 'type' => 'text_textarea_with_summary',
  709. 'weight' => 4,
  710. ),
  711. );
  712. // Exported field_instance: 'node-thematique-field_description'.
  713. $field_instances['node-thematique-field_description'] = array(
  714. 'bundle' => 'thematique',
  715. 'default_value' => NULL,
  716. 'deleted' => 0,
  717. 'description' => '',
  718. 'display' => array(
  719. 'accueil' => array(
  720. 'label' => 'hidden',
  721. 'module' => 'text',
  722. 'settings' => array(),
  723. 'type' => 'text_default',
  724. 'weight' => 11,
  725. ),
  726. 'default' => array(
  727. 'label' => 'above',
  728. 'module' => 'text',
  729. 'settings' => array(),
  730. 'type' => 'text_default',
  731. 'weight' => 2,
  732. ),
  733. 'teaser' => array(
  734. 'label' => 'hidden',
  735. 'module' => 'text',
  736. 'settings' => array(),
  737. 'type' => 'text_default',
  738. 'weight' => 9,
  739. ),
  740. ),
  741. 'entity_type' => 'node',
  742. 'field_name' => 'field_description',
  743. 'label' => 'Description',
  744. 'required' => 0,
  745. 'settings' => array(
  746. 'entity_translation_sync' => FALSE,
  747. 'linkit' => array(
  748. 'button_text' => 'Recherche',
  749. 'enable' => 0,
  750. 'profile' => '',
  751. ),
  752. 'text_processing' => 1,
  753. 'user_register_form' => FALSE,
  754. ),
  755. 'widget' => array(
  756. 'active' => 1,
  757. 'module' => 'text',
  758. 'settings' => array(
  759. 'rows' => 5,
  760. ),
  761. 'type' => 'text_textarea',
  762. 'weight' => 103,
  763. ),
  764. );
  765. // Exported field_instance: 'node-thematique-field_eclairages'.
  766. $field_instances['node-thematique-field_eclairages'] = array(
  767. 'bundle' => 'thematique',
  768. 'default_value' => NULL,
  769. 'deleted' => 0,
  770. 'description' => '',
  771. 'display' => array(
  772. 'accueil' => array(
  773. 'label' => 'hidden',
  774. 'module' => 'entityreference',
  775. 'settings' => array(
  776. 'links' => 0,
  777. 'use_content_language' => 1,
  778. 'view_mode' => 'accueil',
  779. ),
  780. 'type' => 'entityreference_entity_view',
  781. 'weight' => 6,
  782. ),
  783. 'default' => array(
  784. 'label' => 'above',
  785. 'module' => 'entityreference',
  786. 'settings' => array(
  787. 'link' => FALSE,
  788. ),
  789. 'type' => 'entityreference_label',
  790. 'weight' => 6,
  791. ),
  792. 'teaser' => array(
  793. 'label' => 'above',
  794. 'settings' => array(),
  795. 'type' => 'hidden',
  796. 'weight' => 7,
  797. ),
  798. ),
  799. 'entity_type' => 'node',
  800. 'field_name' => 'field_eclairages',
  801. 'label' => 'éclairages',
  802. 'required' => 0,
  803. 'settings' => array(
  804. 'entity_translation_sync' => FALSE,
  805. 'user_register_form' => FALSE,
  806. ),
  807. 'widget' => array(
  808. 'active' => 1,
  809. 'module' => 'entityreference',
  810. 'settings' => array(
  811. 'match_operator' => 'CONTAINS',
  812. 'path' => '',
  813. 'size' => 60,
  814. ),
  815. 'type' => 'entityreference_autocomplete',
  816. 'weight' => 100,
  817. ),
  818. );
  819. // Exported field_instance: 'node-thematique-field_ecouter'.
  820. $field_instances['node-thematique-field_ecouter'] = array(
  821. 'bundle' => 'thematique',
  822. 'default_value' => NULL,
  823. 'deleted' => 0,
  824. 'description' => '',
  825. 'display' => array(
  826. 'accueil' => array(
  827. 'label' => 'hidden',
  828. 'module' => 'taxonomy',
  829. 'settings' => array(),
  830. 'type' => 'taxonomy_term_reference_plain',
  831. 'weight' => 10,
  832. ),
  833. 'default' => array(
  834. 'label' => 'above',
  835. 'module' => 'taxonomy',
  836. 'settings' => array(),
  837. 'type' => 'taxonomy_term_reference_link',
  838. 'weight' => 5,
  839. ),
  840. 'teaser' => array(
  841. 'label' => 'above',
  842. 'settings' => array(),
  843. 'type' => 'hidden',
  844. 'weight' => 6,
  845. ),
  846. ),
  847. 'entity_type' => 'node',
  848. 'field_name' => 'field_ecouter',
  849. 'label' => 'Écouter',
  850. 'required' => 0,
  851. 'settings' => array(
  852. 'entity_translation_sync' => FALSE,
  853. 'user_register_form' => FALSE,
  854. ),
  855. 'widget' => array(
  856. 'active' => 1,
  857. 'module' => 'field_extrawidgets',
  858. 'settings' => array(
  859. 'display_empty' => 0,
  860. 'formatter' => 'taxonomy_term_reference_plain',
  861. 'formatter_settings' => array(),
  862. ),
  863. 'type' => 'field_extrawidgets_read_only',
  864. 'weight' => 5,
  865. ),
  866. );
  867. // Exported field_instance: 'node-thematique-field_emvideo'.
  868. $field_instances['node-thematique-field_emvideo'] = array(
  869. 'bundle' => 'thematique',
  870. 'default_value' => NULL,
  871. 'deleted' => 0,
  872. 'description' => '',
  873. 'display' => array(
  874. 'accueil' => array(
  875. 'label' => 'hidden',
  876. 'module' => 'video_embed_field_overlay',
  877. 'settings' => array(
  878. 'description' => 1,
  879. 'image_style' => 'video_thumb_themat',
  880. 'overlay' => 'dom-window',
  881. 'show_thumbnail' => 1,
  882. 'video_style' => 'normal',
  883. ),
  884. 'type' => 'video_embed_field_overlay',
  885. 'weight' => 8,
  886. ),
  887. 'default' => array(
  888. 'label' => 'above',
  889. 'module' => 'video_embed_field',
  890. 'settings' => array(
  891. 'description' => 1,
  892. 'description_position' => 'bottom',
  893. 'video_style' => 'normal',
  894. ),
  895. 'type' => 'video_embed_field',
  896. 'weight' => 7,
  897. ),
  898. 'teaser' => array(
  899. 'label' => 'hidden',
  900. 'module' => 'video_embed_field_overlay',
  901. 'settings' => array(
  902. 'description' => 1,
  903. 'image_style' => 'video_thumb_themat',
  904. 'overlay' => 'dom-window',
  905. 'show_thumbnail' => 1,
  906. 'video_style' => 'normal',
  907. ),
  908. 'type' => 'video_embed_field_overlay',
  909. 'weight' => 8,
  910. ),
  911. ),
  912. 'entity_type' => 'node',
  913. 'field_name' => 'field_emvideo',
  914. 'label' => 'Video',
  915. 'required' => 0,
  916. 'settings' => array(
  917. 'allowed_providers' => array(
  918. 'vimeo' => 'vimeo',
  919. 'youtube' => 'youtube',
  920. ),
  921. 'description_field' => 0,
  922. 'description_length' => 128,
  923. 'entity_translation_sync' => FALSE,
  924. 'user_register_form' => FALSE,
  925. ),
  926. 'widget' => array(
  927. 'active' => 0,
  928. 'module' => 'video_embed_field',
  929. 'settings' => array(),
  930. 'type' => 'video_embed_field_video',
  931. 'weight' => 101,
  932. ),
  933. );
  934. // Exported field_instance: 'node-thematique-field_episodes'.
  935. $field_instances['node-thematique-field_episodes'] = array(
  936. 'bundle' => 'thematique',
  937. 'default_value' => NULL,
  938. 'deleted' => 0,
  939. 'description' => '',
  940. 'display' => array(
  941. 'accueil' => array(
  942. 'label' => 'hidden',
  943. 'module' => 'entityreference',
  944. 'settings' => array(
  945. 'links' => 0,
  946. 'use_content_language' => 1,
  947. 'view_mode' => 'accueil',
  948. ),
  949. 'type' => 'entityreference_entity_view',
  950. 'weight' => 5,
  951. ),
  952. 'default' => array(
  953. 'label' => 'above',
  954. 'module' => 'entityreference',
  955. 'settings' => array(
  956. 'link' => FALSE,
  957. ),
  958. 'type' => 'entityreference_label',
  959. 'weight' => 3,
  960. ),
  961. 'teaser' => array(
  962. 'label' => 'hidden',
  963. 'settings' => array(),
  964. 'type' => 'hidden',
  965. 'weight' => 2,
  966. ),
  967. ),
  968. 'entity_type' => 'node',
  969. 'field_name' => 'field_episodes',
  970. 'label' => 'Épisodes',
  971. 'required' => 0,
  972. 'settings' => array(
  973. 'entity_translation_sync' => FALSE,
  974. 'user_register_form' => FALSE,
  975. ),
  976. 'widget' => array(
  977. 'active' => 1,
  978. 'module' => 'entityreference',
  979. 'settings' => array(
  980. 'match_operator' => 'CONTAINS',
  981. 'path' => '',
  982. 'size' => 60,
  983. ),
  984. 'type' => 'entityreference_autocomplete',
  985. 'weight' => 7,
  986. ),
  987. );
  988. // Exported field_instance: 'node-thematique-field_poid'.
  989. $field_instances['node-thematique-field_poid'] = array(
  990. 'bundle' => 'thematique',
  991. 'default_value' => array(
  992. 0 => array(
  993. 'value' => 0,
  994. ),
  995. ),
  996. 'deleted' => 0,
  997. 'description' => '',
  998. 'display' => array(
  999. 'accueil' => array(
  1000. 'label' => 'above',
  1001. 'settings' => array(),
  1002. 'type' => 'hidden',
  1003. 'weight' => 7,
  1004. ),
  1005. 'default' => array(
  1006. 'label' => 'above',
  1007. 'module' => 'number',
  1008. 'settings' => array(
  1009. 'decimal_separator' => '.',
  1010. 'prefix_suffix' => TRUE,
  1011. 'scale' => 0,
  1012. 'thousand_separator' => '',
  1013. ),
  1014. 'type' => 'number_integer',
  1015. 'weight' => 8,
  1016. ),
  1017. 'teaser' => array(
  1018. 'label' => 'above',
  1019. 'settings' => array(),
  1020. 'type' => 'hidden',
  1021. 'weight' => 8,
  1022. ),
  1023. ),
  1024. 'entity_type' => 'node',
  1025. 'field_name' => 'field_poid',
  1026. 'label' => 'Poid',
  1027. 'required' => 1,
  1028. 'settings' => array(
  1029. 'entity_translation_sync' => FALSE,
  1030. 'max' => 10,
  1031. 'min' => 0,
  1032. 'prefix' => '',
  1033. 'suffix' => '',
  1034. 'user_register_form' => FALSE,
  1035. ),
  1036. 'widget' => array(
  1037. 'active' => 0,
  1038. 'module' => 'number',
  1039. 'settings' => array(),
  1040. 'type' => 'number',
  1041. 'weight' => 1,
  1042. ),
  1043. );
  1044. // Translatables
  1045. // Included for use with string extractors like potx.
  1046. t('Bidirectional');
  1047. t('Body');
  1048. t('Description');
  1049. t('Doc');
  1050. t('Enabled');
  1051. t('Habiter');
  1052. t('Left Field');
  1053. t('Legende');
  1054. t('Poid');
  1055. t('Right Field');
  1056. t('Thématique');
  1057. t('Titre');
  1058. t('Video');
  1059. t('Weight');
  1060. t('Écouter');
  1061. t('Épisodes');
  1062. t('éclairages');
  1063. return $field_instances;
  1064. }