clameurs.features.field_instance.inc 30 KB

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