clameurs.features.field_instance.inc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  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: 'node-documentair-body'
  12. $field_instances['node-documentair-body'] = array(
  13. 'bundle' => 'documentair',
  14. 'default_value' => NULL,
  15. 'deleted' => 0,
  16. 'description' => '',
  17. 'display' => array(
  18. 'default' => array(
  19. 'label' => 'hidden',
  20. 'module' => 'text',
  21. 'settings' => array(),
  22. 'type' => 'text_default',
  23. 'weight' => 0,
  24. ),
  25. 'teaser' => array(
  26. 'label' => 'hidden',
  27. 'module' => 'text',
  28. 'settings' => array(
  29. 'trim_length' => 600,
  30. ),
  31. 'type' => 'text_summary_or_trimmed',
  32. 'weight' => 0,
  33. ),
  34. ),
  35. 'entity_type' => 'node',
  36. 'field_name' => 'body',
  37. 'label' => 'Body',
  38. 'required' => FALSE,
  39. 'settings' => array(
  40. 'display_summary' => TRUE,
  41. 'entity_translation_sync' => FALSE,
  42. 'text_processing' => 1,
  43. 'user_register_form' => FALSE,
  44. ),
  45. 'widget' => array(
  46. 'module' => 'text',
  47. 'settings' => array(
  48. 'rows' => 20,
  49. 'summary_rows' => 5,
  50. ),
  51. 'type' => 'text_textarea_with_summary',
  52. 'weight' => 5,
  53. ),
  54. );
  55. // Exported field_instance: 'node-documentair-field_description'
  56. $field_instances['node-documentair-field_description'] = array(
  57. 'bundle' => 'documentair',
  58. 'default_value' => NULL,
  59. 'deleted' => 0,
  60. 'description' => '',
  61. 'display' => array(
  62. 'default' => array(
  63. 'label' => 'above',
  64. 'module' => 'text',
  65. 'settings' => array(),
  66. 'type' => 'text_default',
  67. 'weight' => 4,
  68. ),
  69. 'teaser' => array(
  70. 'label' => 'above',
  71. 'settings' => array(),
  72. 'type' => 'hidden',
  73. 'weight' => 0,
  74. ),
  75. ),
  76. 'entity_type' => 'node',
  77. 'field_name' => 'field_description',
  78. 'label' => 'Description',
  79. 'required' => 0,
  80. 'settings' => array(
  81. 'entity_translation_sync' => FALSE,
  82. 'linkit' => array(
  83. 'button_text' => 'Recherche',
  84. 'enable' => 0,
  85. 'profile' => '',
  86. ),
  87. 'text_processing' => 1,
  88. 'user_register_form' => FALSE,
  89. ),
  90. 'widget' => array(
  91. 'active' => 1,
  92. 'module' => 'text',
  93. 'settings' => array(
  94. 'rows' => 5,
  95. ),
  96. 'type' => 'text_textarea',
  97. 'weight' => 7,
  98. ),
  99. );
  100. // Exported field_instance: 'node-documentair-field_doc'
  101. $field_instances['node-documentair-field_doc'] = array(
  102. 'bundle' => 'documentair',
  103. 'default_value' => NULL,
  104. 'deleted' => 0,
  105. 'description' => '',
  106. 'display' => array(
  107. 'default' => array(
  108. 'label' => 'above',
  109. 'module' => 'entityreference',
  110. 'settings' => array(
  111. 'link' => FALSE,
  112. ),
  113. 'type' => 'entityreference_label',
  114. 'weight' => 1,
  115. ),
  116. 'teaser' => array(
  117. 'label' => 'above',
  118. 'settings' => array(),
  119. 'type' => 'hidden',
  120. 'weight' => 0,
  121. ),
  122. ),
  123. 'entity_type' => 'node',
  124. 'field_name' => 'field_doc',
  125. 'label' => 'Doc',
  126. 'required' => 0,
  127. 'settings' => array(
  128. 'behaviors' => array(
  129. 'taxonomy-index' => array(
  130. 'status' => TRUE,
  131. ),
  132. ),
  133. 'entity_translation_sync' => FALSE,
  134. 'user_register_form' => FALSE,
  135. ),
  136. 'widget' => array(
  137. 'active' => 1,
  138. 'module' => 'options',
  139. 'settings' => array(),
  140. 'type' => 'options_select',
  141. 'weight' => 1,
  142. ),
  143. );
  144. // Exported field_instance: 'node-documentair-field_thematique'
  145. $field_instances['node-documentair-field_thematique'] = array(
  146. 'bundle' => 'documentair',
  147. 'default_value' => NULL,
  148. 'deleted' => 0,
  149. 'description' => '',
  150. 'display' => array(
  151. 'default' => array(
  152. 'label' => 'above',
  153. 'module' => 'entityreference',
  154. 'settings' => array(
  155. 'link' => FALSE,
  156. ),
  157. 'type' => 'entityreference_label',
  158. 'weight' => 3,
  159. ),
  160. 'teaser' => array(
  161. 'label' => 'above',
  162. 'settings' => array(),
  163. 'type' => 'hidden',
  164. 'weight' => 0,
  165. ),
  166. ),
  167. 'entity_type' => 'node',
  168. 'field_name' => 'field_thematique',
  169. 'label' => 'Thématique',
  170. 'required' => 0,
  171. 'settings' => array(
  172. 'entity_translation_sync' => FALSE,
  173. 'user_register_form' => FALSE,
  174. ),
  175. 'widget' => array(
  176. 'active' => 1,
  177. 'module' => 'entityreference',
  178. 'settings' => array(
  179. 'match_operator' => 'CONTAINS',
  180. 'path' => '',
  181. 'size' => 60,
  182. ),
  183. 'type' => 'entityreference_autocomplete',
  184. 'weight' => 2,
  185. ),
  186. );
  187. // Exported field_instance: 'node-documentair-field_video'
  188. $field_instances['node-documentair-field_video'] = array(
  189. 'bundle' => 'documentair',
  190. 'default_value' => NULL,
  191. 'deleted' => 0,
  192. 'description' => '',
  193. 'display' => array(
  194. 'default' => array(
  195. 'label' => 'above',
  196. 'module' => 'video_filter_field',
  197. 'settings' => array(),
  198. 'type' => 'video_filter_field_default',
  199. 'weight' => 2,
  200. ),
  201. 'teaser' => array(
  202. 'label' => 'above',
  203. 'settings' => array(),
  204. 'type' => 'hidden',
  205. 'weight' => 0,
  206. ),
  207. ),
  208. 'entity_type' => 'node',
  209. 'field_name' => 'field_video',
  210. 'label' => 'Video',
  211. 'required' => 0,
  212. 'settings' => array(
  213. 'autoplay' => 0,
  214. 'entity_translation_sync' => FALSE,
  215. 'max_height' => 400,
  216. 'max_width' => 400,
  217. 'user_register_form' => FALSE,
  218. ),
  219. 'widget' => array(
  220. 'active' => 0,
  221. 'module' => 'video_filter_field',
  222. 'settings' => array(),
  223. 'type' => 'video_filter',
  224. 'weight' => 6,
  225. ),
  226. );
  227. // Exported field_instance: 'node-episode-body'
  228. $field_instances['node-episode-body'] = array(
  229. 'bundle' => 'episode',
  230. 'default_value' => NULL,
  231. 'deleted' => 0,
  232. 'description' => '',
  233. 'display' => array(
  234. 'default' => array(
  235. 'label' => 'hidden',
  236. 'module' => 'text',
  237. 'settings' => array(),
  238. 'type' => 'text_default',
  239. 'weight' => 0,
  240. ),
  241. 'teaser' => array(
  242. 'label' => 'hidden',
  243. 'module' => 'text',
  244. 'settings' => array(
  245. 'trim_length' => 600,
  246. ),
  247. 'type' => 'text_summary_or_trimmed',
  248. 'weight' => 0,
  249. ),
  250. ),
  251. 'entity_type' => 'node',
  252. 'field_name' => 'body',
  253. 'label' => 'Body',
  254. 'required' => FALSE,
  255. 'settings' => array(
  256. 'display_summary' => TRUE,
  257. 'entity_translation_sync' => FALSE,
  258. 'text_processing' => 1,
  259. 'user_register_form' => FALSE,
  260. ),
  261. 'widget' => array(
  262. 'module' => 'text',
  263. 'settings' => array(
  264. 'rows' => 20,
  265. 'summary_rows' => 5,
  266. ),
  267. 'type' => 'text_textarea_with_summary',
  268. 'weight' => 2,
  269. ),
  270. );
  271. // Exported field_instance: 'node-episode-field_description'
  272. $field_instances['node-episode-field_description'] = array(
  273. 'bundle' => 'episode',
  274. 'default_value' => NULL,
  275. 'deleted' => 0,
  276. 'description' => '',
  277. 'display' => array(
  278. 'default' => array(
  279. 'label' => 'above',
  280. 'module' => 'text',
  281. 'settings' => array(),
  282. 'type' => 'text_default',
  283. 'weight' => 2,
  284. ),
  285. 'teaser' => array(
  286. 'label' => 'above',
  287. 'settings' => array(),
  288. 'type' => 'hidden',
  289. 'weight' => 0,
  290. ),
  291. ),
  292. 'entity_type' => 'node',
  293. 'field_name' => 'field_description',
  294. 'label' => 'Description',
  295. 'required' => 0,
  296. 'settings' => array(
  297. 'entity_translation_sync' => FALSE,
  298. 'linkit' => array(
  299. 'button_text' => 'Recherche',
  300. 'enable' => 0,
  301. 'profile' => '',
  302. ),
  303. 'text_processing' => 0,
  304. 'user_register_form' => FALSE,
  305. ),
  306. 'widget' => array(
  307. 'active' => 1,
  308. 'module' => 'text',
  309. 'settings' => array(
  310. 'rows' => 5,
  311. ),
  312. 'type' => 'text_textarea',
  313. 'weight' => 4,
  314. ),
  315. );
  316. // Exported field_instance: 'node-episode-field_habiter'
  317. $field_instances['node-episode-field_habiter'] = array(
  318. 'bundle' => 'episode',
  319. 'default_value' => NULL,
  320. 'deleted' => 0,
  321. 'description' => '',
  322. 'display' => array(
  323. 'default' => array(
  324. 'label' => 'above',
  325. 'module' => 'entityreference',
  326. 'settings' => array(
  327. 'link' => FALSE,
  328. ),
  329. 'type' => 'entityreference_label',
  330. 'weight' => 3,
  331. ),
  332. 'teaser' => array(
  333. 'label' => 'above',
  334. 'settings' => array(),
  335. 'type' => 'hidden',
  336. 'weight' => 0,
  337. ),
  338. ),
  339. 'entity_type' => 'node',
  340. 'field_name' => 'field_habiter',
  341. 'label' => 'Habiter',
  342. 'required' => 0,
  343. 'settings' => array(
  344. 'behaviors' => array(
  345. 'taxonomy-index' => array(
  346. 'status' => TRUE,
  347. ),
  348. ),
  349. 'entity_translation_sync' => FALSE,
  350. 'user_register_form' => FALSE,
  351. ),
  352. 'widget' => array(
  353. 'active' => 1,
  354. 'module' => 'field_extrawidgets',
  355. 'settings' => array(
  356. 'display_empty' => 0,
  357. 'formatter' => 'entityreference_label',
  358. 'formatter_settings' => array(
  359. 'link' => 0,
  360. ),
  361. ),
  362. 'type' => 'field_extrawidgets_read_only',
  363. 'weight' => 1,
  364. ),
  365. );
  366. // Exported field_instance: 'node-episode-field_thematique'
  367. $field_instances['node-episode-field_thematique'] = array(
  368. 'bundle' => 'episode',
  369. 'default_value' => NULL,
  370. 'deleted' => 0,
  371. 'description' => '',
  372. 'display' => array(
  373. 'default' => array(
  374. 'label' => 'above',
  375. 'module' => 'entityreference',
  376. 'settings' => array(
  377. 'link' => FALSE,
  378. ),
  379. 'type' => 'entityreference_label',
  380. 'weight' => 4,
  381. ),
  382. 'teaser' => array(
  383. 'label' => 'above',
  384. 'settings' => array(),
  385. 'type' => 'hidden',
  386. 'weight' => 0,
  387. ),
  388. ),
  389. 'entity_type' => 'node',
  390. 'field_name' => 'field_thematique',
  391. 'label' => 'Thématique',
  392. 'required' => 0,
  393. 'settings' => array(
  394. 'entity_translation_sync' => FALSE,
  395. 'user_register_form' => FALSE,
  396. ),
  397. 'widget' => array(
  398. 'active' => 1,
  399. 'module' => 'entityreference',
  400. 'settings' => array(
  401. 'match_operator' => 'CONTAINS',
  402. 'path' => '',
  403. 'size' => 60,
  404. ),
  405. 'type' => 'entityreference_autocomplete',
  406. 'weight' => 2,
  407. ),
  408. );
  409. // Exported field_instance: 'node-episode-field_video'
  410. $field_instances['node-episode-field_video'] = array(
  411. 'bundle' => 'episode',
  412. 'default_value' => NULL,
  413. 'deleted' => 0,
  414. 'description' => '',
  415. 'display' => array(
  416. 'default' => array(
  417. 'label' => 'above',
  418. 'module' => 'video_filter_field',
  419. 'settings' => array(),
  420. 'type' => 'video_filter_field_default',
  421. 'weight' => 1,
  422. ),
  423. 'teaser' => array(
  424. 'label' => 'above',
  425. 'settings' => array(),
  426. 'type' => 'hidden',
  427. 'weight' => 0,
  428. ),
  429. ),
  430. 'entity_type' => 'node',
  431. 'field_name' => 'field_video',
  432. 'label' => 'Video',
  433. 'required' => 0,
  434. 'settings' => array(
  435. 'autoplay' => 0,
  436. 'entity_translation_sync' => FALSE,
  437. 'max_height' => 400,
  438. 'max_width' => 400,
  439. 'user_register_form' => FALSE,
  440. ),
  441. 'widget' => array(
  442. 'active' => 0,
  443. 'module' => 'video_filter_field',
  444. 'settings' => array(),
  445. 'type' => 'video_filter',
  446. 'weight' => 3,
  447. ),
  448. );
  449. // Exported field_instance: 'node-thematique-body'
  450. $field_instances['node-thematique-body'] = array(
  451. 'bundle' => 'thematique',
  452. 'default_value' => NULL,
  453. 'deleted' => 0,
  454. 'description' => '',
  455. 'display' => array(
  456. 'default' => array(
  457. 'label' => 'hidden',
  458. 'module' => 'text',
  459. 'settings' => array(),
  460. 'type' => 'text_default',
  461. 'weight' => 0,
  462. ),
  463. 'teaser' => array(
  464. 'label' => 'hidden',
  465. 'module' => 'text',
  466. 'settings' => array(
  467. 'trim_length' => 600,
  468. ),
  469. 'type' => 'text_summary_or_trimmed',
  470. 'weight' => 0,
  471. ),
  472. ),
  473. 'entity_type' => 'node',
  474. 'field_name' => 'body',
  475. 'label' => 'Body',
  476. 'required' => FALSE,
  477. 'settings' => array(
  478. 'display_summary' => TRUE,
  479. 'entity_translation_sync' => FALSE,
  480. 'text_processing' => 1,
  481. 'user_register_form' => FALSE,
  482. ),
  483. 'widget' => array(
  484. 'module' => 'text',
  485. 'settings' => array(
  486. 'rows' => 20,
  487. 'summary_rows' => 5,
  488. ),
  489. 'type' => 'text_textarea_with_summary',
  490. 'weight' => 4,
  491. ),
  492. );
  493. // Exported field_instance: 'node-thematique-field_description'
  494. $field_instances['node-thematique-field_description'] = array(
  495. 'bundle' => 'thematique',
  496. 'default_value' => NULL,
  497. 'deleted' => 0,
  498. 'description' => '',
  499. 'display' => array(
  500. 'default' => array(
  501. 'label' => 'above',
  502. 'module' => 'text',
  503. 'settings' => array(),
  504. 'type' => 'text_default',
  505. 'weight' => 2,
  506. ),
  507. 'teaser' => array(
  508. 'label' => 'above',
  509. 'settings' => array(),
  510. 'type' => 'hidden',
  511. 'weight' => 0,
  512. ),
  513. ),
  514. 'entity_type' => 'node',
  515. 'field_name' => 'field_description',
  516. 'label' => 'Description',
  517. 'required' => 0,
  518. 'settings' => array(
  519. 'entity_translation_sync' => FALSE,
  520. 'linkit' => array(
  521. 'button_text' => 'Recherche',
  522. 'enable' => 0,
  523. 'profile' => '',
  524. ),
  525. 'text_processing' => 1,
  526. 'user_register_form' => FALSE,
  527. ),
  528. 'widget' => array(
  529. 'active' => 1,
  530. 'module' => 'text',
  531. 'settings' => array(
  532. 'rows' => 5,
  533. ),
  534. 'type' => 'text_textarea',
  535. 'weight' => 6,
  536. ),
  537. );
  538. // Exported field_instance: 'node-thematique-field_ecouter'
  539. $field_instances['node-thematique-field_ecouter'] = array(
  540. 'bundle' => 'thematique',
  541. 'default_value' => NULL,
  542. 'deleted' => 0,
  543. 'description' => '',
  544. 'display' => array(
  545. 'default' => array(
  546. 'label' => 'above',
  547. 'module' => 'taxonomy',
  548. 'settings' => array(),
  549. 'type' => 'taxonomy_term_reference_link',
  550. 'weight' => 5,
  551. ),
  552. 'teaser' => array(
  553. 'label' => 'above',
  554. 'settings' => array(),
  555. 'type' => 'hidden',
  556. 'weight' => 0,
  557. ),
  558. ),
  559. 'entity_type' => 'node',
  560. 'field_name' => 'field_ecouter',
  561. 'label' => 'Écouter',
  562. 'required' => 0,
  563. 'settings' => array(
  564. 'entity_translation_sync' => FALSE,
  565. 'user_register_form' => FALSE,
  566. ),
  567. 'widget' => array(
  568. 'active' => 1,
  569. 'module' => 'field_extrawidgets',
  570. 'settings' => array(
  571. 'display_empty' => 0,
  572. 'formatter' => 'taxonomy_term_reference_plain',
  573. 'formatter_settings' => array(),
  574. ),
  575. 'type' => 'field_extrawidgets_read_only',
  576. 'weight' => 9,
  577. ),
  578. );
  579. // Exported field_instance: 'node-thematique-field_episodes'
  580. $field_instances['node-thematique-field_episodes'] = array(
  581. 'bundle' => 'thematique',
  582. 'default_value' => NULL,
  583. 'deleted' => 0,
  584. 'description' => '',
  585. 'display' => array(
  586. 'default' => array(
  587. 'label' => 'above',
  588. 'module' => 'entityreference',
  589. 'settings' => array(
  590. 'link' => FALSE,
  591. ),
  592. 'type' => 'entityreference_label',
  593. 'weight' => 3,
  594. ),
  595. 'teaser' => array(
  596. 'label' => 'above',
  597. 'settings' => array(),
  598. 'type' => 'hidden',
  599. 'weight' => 0,
  600. ),
  601. ),
  602. 'entity_type' => 'node',
  603. 'field_name' => 'field_episodes',
  604. 'label' => 'Épisodes',
  605. 'required' => 0,
  606. 'settings' => array(
  607. 'entity_translation_sync' => FALSE,
  608. 'user_register_form' => FALSE,
  609. ),
  610. 'widget' => array(
  611. 'active' => 1,
  612. 'module' => 'entityreference',
  613. 'settings' => array(
  614. 'match_operator' => 'CONTAINS',
  615. 'path' => '',
  616. 'size' => 60,
  617. ),
  618. 'type' => 'entityreference_autocomplete',
  619. 'weight' => 7,
  620. ),
  621. );
  622. // Exported field_instance: 'node-thematique-field_video'
  623. $field_instances['node-thematique-field_video'] = array(
  624. 'bundle' => 'thematique',
  625. 'default_value' => NULL,
  626. 'deleted' => 0,
  627. 'description' => '',
  628. 'display' => array(
  629. 'default' => array(
  630. 'label' => 'above',
  631. 'module' => 'video_filter_field',
  632. 'settings' => array(),
  633. 'type' => 'video_filter_field_default',
  634. 'weight' => 1,
  635. ),
  636. 'teaser' => array(
  637. 'label' => 'above',
  638. 'settings' => array(),
  639. 'type' => 'hidden',
  640. 'weight' => 0,
  641. ),
  642. ),
  643. 'entity_type' => 'node',
  644. 'field_name' => 'field_video',
  645. 'label' => 'Video',
  646. 'required' => 0,
  647. 'settings' => array(
  648. 'autoplay' => 0,
  649. 'entity_translation_sync' => FALSE,
  650. 'max_height' => 400,
  651. 'max_width' => 400,
  652. 'user_register_form' => FALSE,
  653. ),
  654. 'widget' => array(
  655. 'active' => 0,
  656. 'module' => 'video_filter_field',
  657. 'settings' => array(),
  658. 'type' => 'video_filter',
  659. 'weight' => 5,
  660. ),
  661. );
  662. // Translatables
  663. // Included for use with string extractors like potx.
  664. t('Body');
  665. t('Description');
  666. t('Doc');
  667. t('Habiter');
  668. t('Thématique');
  669. t('Video');
  670. t('Écouter');
  671. t('Épisodes');
  672. return $field_instances;
  673. }