clameurs.features.field_instance.inc 25 KB

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