clameurs.features.field_instance.inc 24 KB

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