clameurs.features.field_instance.inc 25 KB

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