popsu_projets.features.field.inc 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960
  1. <?php
  2. /**
  3. * @file
  4. * popsu_projets.features.field.inc
  5. */
  6. /**
  7. * Implements hook_field_default_fields().
  8. */
  9. function popsu_projets_field_default_fields() {
  10. $fields = array();
  11. // Exported field: 'node-popsu_projet-field_popsu_projet_acteurs'.
  12. $fields['node-popsu_projet-field_popsu_projet_acteurs'] = array(
  13. 'field_config' => array(
  14. 'active' => '1',
  15. 'cardinality' => '1',
  16. 'deleted' => '0',
  17. 'entity_types' => array(),
  18. 'field_name' => 'field_popsu_projet_acteurs',
  19. 'foreign keys' => array(
  20. 'format' => array(
  21. 'columns' => array(
  22. 'format' => 'format',
  23. ),
  24. 'table' => 'filter_format',
  25. ),
  26. ),
  27. 'indexes' => array(
  28. 'format' => array(
  29. 0 => 'format',
  30. ),
  31. ),
  32. 'locked' => '0',
  33. 'module' => 'text',
  34. 'settings' => array(),
  35. 'translatable' => '0',
  36. 'type' => 'text_long',
  37. ),
  38. 'field_instance' => array(
  39. 'bundle' => 'popsu_projet',
  40. 'default_value' => NULL,
  41. 'deleted' => '0',
  42. 'description' => '',
  43. 'display' => array(
  44. 'default' => array(
  45. 'label' => 'hidden',
  46. 'module' => 'text',
  47. 'settings' => array(),
  48. 'type' => 'text_default',
  49. 'weight' => '4',
  50. ),
  51. 'teaser' => array(
  52. 'label' => 'above',
  53. 'settings' => array(),
  54. 'type' => 'hidden',
  55. 'weight' => 0,
  56. ),
  57. ),
  58. 'entity_type' => 'node',
  59. 'field_name' => 'field_popsu_projet_acteurs',
  60. 'label' => 'Acteurs',
  61. 'required' => 0,
  62. 'settings' => array(
  63. 'text_processing' => '1',
  64. 'user_register_form' => FALSE,
  65. ),
  66. 'widget' => array(
  67. 'active' => 1,
  68. 'module' => 'text',
  69. 'settings' => array(
  70. 'rows' => '5',
  71. ),
  72. 'type' => 'text_textarea',
  73. 'weight' => '15',
  74. ),
  75. ),
  76. );
  77. // Exported field: 'node-popsu_projet-field_popsu_projet_adresse'.
  78. $fields['node-popsu_projet-field_popsu_projet_adresse'] = array(
  79. 'field_config' => array(
  80. 'active' => '1',
  81. 'cardinality' => '1',
  82. 'deleted' => '0',
  83. 'entity_types' => array(),
  84. 'field_name' => 'field_popsu_projet_adresse',
  85. 'foreign keys' => array(),
  86. 'indexes' => array(),
  87. 'locked' => '0',
  88. 'module' => 'addressfield',
  89. 'settings' => array(),
  90. 'translatable' => '0',
  91. 'type' => 'addressfield',
  92. ),
  93. 'field_instance' => array(
  94. 'bundle' => 'popsu_projet',
  95. 'default_value' => array(
  96. 0 => array(
  97. 'element_key' => 'node|popsu_projet|field_popsu_projet_adresse|und|0',
  98. 'thoroughfare' => '',
  99. 'premise' => '',
  100. 'postal_code' => '',
  101. 'locality' => '',
  102. 'country' => 'FR',
  103. ),
  104. ),
  105. 'deleted' => '0',
  106. 'description' => '',
  107. 'display' => array(
  108. 'default' => array(
  109. 'label' => 'above',
  110. 'module' => 'addressfield',
  111. 'settings' => array(
  112. 'format_handlers' => array(
  113. 0 => 'address',
  114. ),
  115. 'use_widget_handlers' => 1,
  116. ),
  117. 'type' => 'addressfield_default',
  118. 'weight' => '10',
  119. ),
  120. 'teaser' => array(
  121. 'label' => 'above',
  122. 'settings' => array(),
  123. 'type' => 'hidden',
  124. 'weight' => 0,
  125. ),
  126. ),
  127. 'entity_type' => 'node',
  128. 'field_name' => 'field_popsu_projet_adresse',
  129. 'label' => 'Emplacement du projet',
  130. 'required' => 0,
  131. 'settings' => array(
  132. 'user_register_form' => FALSE,
  133. ),
  134. 'widget' => array(
  135. 'active' => 1,
  136. 'module' => 'addressfield',
  137. 'settings' => array(
  138. 'available_countries' => array(),
  139. 'format_handlers' => array(
  140. 'address' => 'address',
  141. 'address-hide-country' => 0,
  142. 'organisation' => 0,
  143. 'name-full' => 0,
  144. 'name-oneline' => 0,
  145. ),
  146. ),
  147. 'type' => 'addressfield_standard',
  148. 'weight' => '7',
  149. ),
  150. ),
  151. );
  152. // Exported field: 'node-popsu_projet-field_popsu_projet_commune'.
  153. $fields['node-popsu_projet-field_popsu_projet_commune'] = array(
  154. 'field_config' => array(
  155. 'active' => '1',
  156. 'cardinality' => '1',
  157. 'deleted' => '0',
  158. 'entity_types' => array(),
  159. 'field_name' => 'field_popsu_projet_commune',
  160. 'foreign keys' => array(
  161. 'format' => array(
  162. 'columns' => array(
  163. 'format' => 'format',
  164. ),
  165. 'table' => 'filter_format',
  166. ),
  167. ),
  168. 'indexes' => array(
  169. 'format' => array(
  170. 0 => 'format',
  171. ),
  172. ),
  173. 'locked' => '0',
  174. 'module' => 'text',
  175. 'settings' => array(
  176. 'max_length' => '255',
  177. ),
  178. 'translatable' => '0',
  179. 'type' => 'text',
  180. ),
  181. 'field_instance' => array(
  182. 'bundle' => 'popsu_projet',
  183. 'default_value' => NULL,
  184. 'deleted' => '0',
  185. 'description' => '',
  186. 'display' => array(
  187. 'default' => array(
  188. 'label' => 'above',
  189. 'module' => 'text',
  190. 'settings' => array(),
  191. 'type' => 'text_default',
  192. 'weight' => '0',
  193. ),
  194. 'teaser' => array(
  195. 'label' => 'above',
  196. 'settings' => array(),
  197. 'type' => 'hidden',
  198. 'weight' => 0,
  199. ),
  200. ),
  201. 'entity_type' => 'node',
  202. 'field_name' => 'field_popsu_projet_commune',
  203. 'label' => 'Commune concernée (si agglomération)',
  204. 'required' => 0,
  205. 'settings' => array(
  206. 'text_processing' => '0',
  207. 'user_register_form' => FALSE,
  208. ),
  209. 'widget' => array(
  210. 'active' => 1,
  211. 'module' => 'text',
  212. 'settings' => array(
  213. 'size' => '60',
  214. ),
  215. 'type' => 'text_textfield',
  216. 'weight' => '3',
  217. ),
  218. ),
  219. );
  220. // Exported field: 'node-popsu_projet-field_popsu_projet_comparatif'.
  221. $fields['node-popsu_projet-field_popsu_projet_comparatif'] = array(
  222. 'field_config' => array(
  223. 'active' => '1',
  224. 'cardinality' => '-1',
  225. 'deleted' => '0',
  226. 'entity_types' => array(),
  227. 'field_name' => 'field_popsu_projet_comparatif',
  228. 'foreign keys' => array(
  229. 'nid' => array(
  230. 'columns' => array(
  231. 'nid' => 'nid',
  232. ),
  233. 'table' => 'node',
  234. ),
  235. ),
  236. 'indexes' => array(
  237. 'nid' => array(
  238. 0 => 'nid',
  239. ),
  240. ),
  241. 'locked' => '0',
  242. 'module' => 'node_reference',
  243. 'settings' => array(
  244. 'referenceable_types' => array(
  245. 'article' => 0,
  246. 'page' => 0,
  247. 'popsu_colloque' => 0,
  248. 'popsu_document' => 0,
  249. 'popsu_page' => 0,
  250. 'popsu_projet' => 0,
  251. 'popsu_publication' => 0,
  252. 'popsu_special' => 0,
  253. 'popsu_theme_europe' => 0,
  254. 'popsu_theme_local' => 0,
  255. 'popsu_theme_trans' => 'popsu_theme_trans',
  256. 'popsu_ville' => 0,
  257. 'popsu_ville_europe' => 0,
  258. ),
  259. 'view' => array(
  260. 'args' => array(),
  261. 'display_name' => '',
  262. 'view_name' => '',
  263. ),
  264. ),
  265. 'translatable' => '0',
  266. 'type' => 'node_reference',
  267. ),
  268. 'field_instance' => array(
  269. 'bundle' => 'popsu_projet',
  270. 'default_value' => NULL,
  271. 'deleted' => '0',
  272. 'description' => '',
  273. 'display' => array(
  274. 'default' => array(
  275. 'label' => 'above',
  276. 'module' => 'node_reference',
  277. 'settings' => array(),
  278. 'type' => 'node_reference_default',
  279. 'weight' => 12,
  280. ),
  281. 'teaser' => array(
  282. 'label' => 'above',
  283. 'settings' => array(),
  284. 'type' => 'hidden',
  285. 'weight' => 0,
  286. ),
  287. ),
  288. 'entity_type' => 'node',
  289. 'field_name' => 'field_popsu_projet_comparatif',
  290. 'label' => 'Comparatif',
  291. 'required' => 0,
  292. 'settings' => array(
  293. 'user_register_form' => FALSE,
  294. ),
  295. 'widget' => array(
  296. 'active' => 1,
  297. 'module' => 'node_reference',
  298. 'settings' => array(
  299. 'autocomplete_match' => 'contains',
  300. 'autocomplete_path' => 'node_reference/autocomplete',
  301. 'size' => '60',
  302. ),
  303. 'type' => 'node_reference_autocomplete',
  304. 'weight' => '9',
  305. ),
  306. ),
  307. );
  308. // Exported field: 'node-popsu_projet-field_popsu_projet_demarche'.
  309. $fields['node-popsu_projet-field_popsu_projet_demarche'] = array(
  310. 'field_config' => array(
  311. 'active' => '1',
  312. 'cardinality' => '1',
  313. 'deleted' => '0',
  314. 'entity_types' => array(),
  315. 'field_name' => 'field_popsu_projet_demarche',
  316. 'foreign keys' => array(
  317. 'format' => array(
  318. 'columns' => array(
  319. 'format' => 'format',
  320. ),
  321. 'table' => 'filter_format',
  322. ),
  323. ),
  324. 'indexes' => array(
  325. 'format' => array(
  326. 0 => 'format',
  327. ),
  328. ),
  329. 'locked' => '0',
  330. 'module' => 'text',
  331. 'settings' => array(),
  332. 'translatable' => '0',
  333. 'type' => 'text_long',
  334. ),
  335. 'field_instance' => array(
  336. 'bundle' => 'popsu_projet',
  337. 'default_value' => NULL,
  338. 'deleted' => '0',
  339. 'description' => '',
  340. 'display' => array(
  341. 'default' => array(
  342. 'label' => 'hidden',
  343. 'module' => 'text',
  344. 'settings' => array(),
  345. 'type' => 'text_default',
  346. 'weight' => '2',
  347. ),
  348. 'teaser' => array(
  349. 'label' => 'above',
  350. 'settings' => array(),
  351. 'type' => 'hidden',
  352. 'weight' => 0,
  353. ),
  354. ),
  355. 'entity_type' => 'node',
  356. 'field_name' => 'field_popsu_projet_demarche',
  357. 'label' => 'Chronologie',
  358. 'required' => 0,
  359. 'settings' => array(
  360. 'text_processing' => '1',
  361. 'user_register_form' => FALSE,
  362. ),
  363. 'widget' => array(
  364. 'active' => 1,
  365. 'module' => 'text',
  366. 'settings' => array(
  367. 'rows' => '5',
  368. ),
  369. 'type' => 'text_textarea',
  370. 'weight' => '3',
  371. ),
  372. ),
  373. );
  374. // Exported field: 'node-popsu_projet-field_popsu_projet_geoloc'.
  375. $fields['node-popsu_projet-field_popsu_projet_geoloc'] = array(
  376. 'field_config' => array(
  377. 'active' => '1',
  378. 'cardinality' => '1',
  379. 'deleted' => '0',
  380. 'entity_types' => array(),
  381. 'field_name' => 'field_popsu_projet_geoloc',
  382. 'foreign keys' => array(),
  383. 'indexes' => array(),
  384. 'locked' => '0',
  385. 'module' => 'geofield',
  386. 'settings' => array(),
  387. 'translatable' => '0',
  388. 'type' => 'geofield',
  389. ),
  390. 'field_instance' => array(
  391. 'bundle' => 'popsu_projet',
  392. 'deleted' => '0',
  393. 'description' => '',
  394. 'display' => array(
  395. 'default' => array(
  396. 'label' => 'above',
  397. 'module' => 'geofield',
  398. 'settings' => array(
  399. 'data' => 'full',
  400. 'map_preset' => 'popsu_map_projets',
  401. ),
  402. 'type' => 'geofield_openlayers',
  403. 'weight' => '11',
  404. ),
  405. 'teaser' => array(
  406. 'label' => 'above',
  407. 'settings' => array(),
  408. 'type' => 'hidden',
  409. 'weight' => 0,
  410. ),
  411. ),
  412. 'entity_type' => 'node',
  413. 'field_name' => 'field_popsu_projet_geoloc',
  414. 'label' => 'Geolocalisation',
  415. 'required' => 0,
  416. 'settings' => array(
  417. 'local_solr' => array(
  418. 'enabled' => FALSE,
  419. 'lat_field' => 'lat',
  420. 'lng_field' => 'lng',
  421. ),
  422. 'user_register_form' => FALSE,
  423. ),
  424. 'widget' => array(
  425. 'active' => 1,
  426. 'module' => 'geocoder',
  427. 'settings' => array(
  428. 'delta_handling' => 'default',
  429. 'geocoder_field' => 'field_popsu_projet_adresse',
  430. 'geocoder_handler' => 'google',
  431. 'handler_settings' => array(
  432. 'google' => array(
  433. 'all_results' => 0,
  434. 'geometry_type' => 'point',
  435. 'reject_results' => array(
  436. 'APPROXIMATE' => 'APPROXIMATE',
  437. 'GEOMETRIC_CENTER' => 0,
  438. 'RANGE_INTERPOLATED' => 0,
  439. 'ROOFTOP' => 0,
  440. ),
  441. ),
  442. ),
  443. ),
  444. 'type' => 'geocoder',
  445. 'weight' => '8',
  446. ),
  447. ),
  448. );
  449. // Exported field: 'node-popsu_projet-field_popsu_projet_imageintro'.
  450. $fields['node-popsu_projet-field_popsu_projet_imageintro'] = array(
  451. 'field_config' => array(
  452. 'active' => '1',
  453. 'cardinality' => '-1',
  454. 'deleted' => '0',
  455. 'entity_types' => array(),
  456. 'field_name' => 'field_popsu_projet_imageintro',
  457. 'foreign keys' => array(
  458. 'fid' => array(
  459. 'columns' => array(
  460. 'fid' => 'fid',
  461. ),
  462. 'table' => 'file_managed',
  463. ),
  464. ),
  465. 'indexes' => array(
  466. 'fid' => array(
  467. 0 => 'fid',
  468. ),
  469. ),
  470. 'locked' => '0',
  471. 'module' => 'image',
  472. 'settings' => array(
  473. 'default_image' => 0,
  474. 'uri_scheme' => 'public',
  475. ),
  476. 'translatable' => '0',
  477. 'type' => 'image',
  478. ),
  479. 'field_instance' => array(
  480. 'bundle' => 'popsu_projet',
  481. 'deleted' => '0',
  482. 'description' => '',
  483. 'display' => array(
  484. 'default' => array(
  485. 'label' => 'above',
  486. 'module' => 'image',
  487. 'settings' => array(
  488. 'image_link' => '',
  489. 'image_style' => '',
  490. ),
  491. 'type' => 'image',
  492. 'weight' => '5',
  493. ),
  494. 'teaser' => array(
  495. 'label' => 'above',
  496. 'settings' => array(),
  497. 'type' => 'hidden',
  498. 'weight' => 0,
  499. ),
  500. ),
  501. 'entity_type' => 'node',
  502. 'field_name' => 'field_popsu_projet_imageintro',
  503. 'label' => 'Image d\'introduction',
  504. 'required' => 0,
  505. 'settings' => array(
  506. 'alt_field' => 0,
  507. 'default_image' => 0,
  508. 'file_directory' => '',
  509. 'file_extensions' => 'png gif jpg jpeg',
  510. 'filefield_paths' => array(
  511. 'active_updating' => 0,
  512. 'file_name' => array(
  513. 'options' => array(
  514. 'pathauto' => 1,
  515. 'transliterate' => 1,
  516. ),
  517. 'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
  518. ),
  519. 'file_path' => array(
  520. 'options' => array(
  521. 'pathauto' => 1,
  522. 'transliterate' => 1,
  523. ),
  524. 'value' => 'nodes/[node:content-type]/[node:nid]/imageintro',
  525. ),
  526. 'retroactive_update' => 0,
  527. ),
  528. 'max_filesize' => '',
  529. 'max_resolution' => '',
  530. 'min_resolution' => '',
  531. 'title_field' => 1,
  532. 'user_register_form' => FALSE,
  533. ),
  534. 'widget' => array(
  535. 'active' => 1,
  536. 'module' => 'image',
  537. 'settings' => array(
  538. 'preview_image_style' => 'thumbnail',
  539. 'progress_indicator' => 'throbber',
  540. ),
  541. 'type' => 'image_image',
  542. 'weight' => '6',
  543. ),
  544. ),
  545. );
  546. // Exported field: 'node-popsu_projet-field_popsu_projet_imagelocalise'.
  547. $fields['node-popsu_projet-field_popsu_projet_imagelocalise'] = array(
  548. 'field_config' => array(
  549. 'active' => '1',
  550. 'cardinality' => '-1',
  551. 'deleted' => '0',
  552. 'entity_types' => array(),
  553. 'field_name' => 'field_popsu_projet_imagelocalise',
  554. 'foreign keys' => array(
  555. 'fid' => array(
  556. 'columns' => array(
  557. 'fid' => 'fid',
  558. ),
  559. 'table' => 'file_managed',
  560. ),
  561. ),
  562. 'indexes' => array(
  563. 'fid' => array(
  564. 0 => 'fid',
  565. ),
  566. ),
  567. 'locked' => '0',
  568. 'module' => 'image',
  569. 'settings' => array(
  570. 'default_image' => 0,
  571. 'uri_scheme' => 'public',
  572. ),
  573. 'translatable' => '0',
  574. 'type' => 'image',
  575. ),
  576. 'field_instance' => array(
  577. 'bundle' => 'popsu_projet',
  578. 'deleted' => '0',
  579. 'description' => '',
  580. 'display' => array(
  581. 'default' => array(
  582. 'label' => 'above',
  583. 'module' => 'image',
  584. 'settings' => array(
  585. 'image_link' => '',
  586. 'image_style' => '',
  587. ),
  588. 'type' => 'image',
  589. 'weight' => '6',
  590. ),
  591. 'teaser' => array(
  592. 'label' => 'above',
  593. 'settings' => array(),
  594. 'type' => 'hidden',
  595. 'weight' => 0,
  596. ),
  597. ),
  598. 'entity_type' => 'node',
  599. 'field_name' => 'field_popsu_projet_imagelocalise',
  600. 'label' => 'Image de localisation',
  601. 'required' => 0,
  602. 'settings' => array(
  603. 'alt_field' => 0,
  604. 'default_image' => 0,
  605. 'file_directory' => '',
  606. 'file_extensions' => 'png gif jpg jpeg',
  607. 'filefield_paths' => array(
  608. 'active_updating' => 0,
  609. 'file_name' => array(
  610. 'options' => array(
  611. 'pathauto' => 1,
  612. 'transliterate' => 1,
  613. ),
  614. 'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
  615. ),
  616. 'file_path' => array(
  617. 'options' => array(
  618. 'pathauto' => 1,
  619. 'transliterate' => 1,
  620. ),
  621. 'value' => 'nodes/[node:content-type]/[node:nid]/imagelocalise',
  622. ),
  623. 'retroactive_update' => 0,
  624. ),
  625. 'max_filesize' => '',
  626. 'max_resolution' => '',
  627. 'min_resolution' => '',
  628. 'title_field' => 1,
  629. 'user_register_form' => FALSE,
  630. ),
  631. 'widget' => array(
  632. 'active' => 1,
  633. 'module' => 'image',
  634. 'settings' => array(
  635. 'preview_image_style' => 'thumbnail',
  636. 'progress_indicator' => 'throbber',
  637. ),
  638. 'type' => 'image_image',
  639. 'weight' => '7',
  640. ),
  641. ),
  642. );
  643. // Exported field: 'node-popsu_projet-field_popsu_projet_lies'.
  644. $fields['node-popsu_projet-field_popsu_projet_lies'] = array(
  645. 'field_config' => array(
  646. 'active' => '1',
  647. 'cardinality' => '-1',
  648. 'deleted' => '0',
  649. 'entity_types' => array(),
  650. 'field_name' => 'field_popsu_projet_lies',
  651. 'foreign keys' => array(
  652. 'nid' => array(
  653. 'columns' => array(
  654. 'nid' => 'nid',
  655. ),
  656. 'table' => 'node',
  657. ),
  658. ),
  659. 'indexes' => array(
  660. 'nid' => array(
  661. 0 => 'nid',
  662. ),
  663. ),
  664. 'locked' => '0',
  665. 'module' => 'node_reference',
  666. 'settings' => array(
  667. 'referenceable_types' => array(
  668. 'article' => 0,
  669. 'page' => 0,
  670. 'popsu_colloque' => 0,
  671. 'popsu_page' => 0,
  672. 'popsu_projet' => 'popsu_projet',
  673. 'popsu_publication' => 0,
  674. 'popsu_special' => 0,
  675. 'popsu_theme_europe' => 0,
  676. 'popsu_theme_local' => 'popsu_theme_local',
  677. 'popsu_theme_trans' => 0,
  678. 'popsu_ville' => 0,
  679. 'popsu_ville_europe' => 0,
  680. ),
  681. 'view' => array(
  682. 'args' => array(),
  683. 'display_name' => '',
  684. 'view_name' => '',
  685. ),
  686. ),
  687. 'translatable' => '0',
  688. 'type' => 'node_reference',
  689. ),
  690. 'field_instance' => array(
  691. 'bundle' => 'popsu_projet',
  692. 'default_value' => NULL,
  693. 'deleted' => '0',
  694. 'description' => '',
  695. 'display' => array(
  696. 'default' => array(
  697. 'label' => 'above',
  698. 'module' => 'node_reference',
  699. 'settings' => array(),
  700. 'type' => 'node_reference_default',
  701. 'weight' => '9',
  702. ),
  703. 'teaser' => array(
  704. 'label' => 'above',
  705. 'settings' => array(),
  706. 'type' => 'hidden',
  707. 'weight' => 0,
  708. ),
  709. ),
  710. 'entity_type' => 'node',
  711. 'field_name' => 'field_popsu_projet_lies',
  712. 'label' => 'Projets & thèmes liés',
  713. 'required' => 0,
  714. 'settings' => array(
  715. 'user_register_form' => FALSE,
  716. ),
  717. 'widget' => array(
  718. 'active' => 1,
  719. 'module' => 'node_reference',
  720. 'settings' => array(
  721. 'autocomplete_match' => 'contains',
  722. 'autocomplete_path' => 'node_reference/autocomplete',
  723. 'size' => '60',
  724. ),
  725. 'type' => 'node_reference_autocomplete',
  726. 'weight' => '8',
  727. ),
  728. ),
  729. );
  730. // Exported field: 'node-popsu_projet-field_popsu_projet_methodo'.
  731. $fields['node-popsu_projet-field_popsu_projet_methodo'] = array(
  732. 'field_config' => array(
  733. 'active' => '1',
  734. 'cardinality' => '1',
  735. 'deleted' => '0',
  736. 'entity_types' => array(),
  737. 'field_name' => 'field_popsu_projet_methodo',
  738. 'foreign keys' => array(
  739. 'format' => array(
  740. 'columns' => array(
  741. 'format' => 'format',
  742. ),
  743. 'table' => 'filter_format',
  744. ),
  745. ),
  746. 'indexes' => array(
  747. 'format' => array(
  748. 0 => 'format',
  749. ),
  750. ),
  751. 'locked' => '0',
  752. 'module' => 'text',
  753. 'settings' => array(),
  754. 'translatable' => '0',
  755. 'type' => 'text_long',
  756. ),
  757. 'field_instance' => array(
  758. 'bundle' => 'popsu_projet',
  759. 'default_value' => NULL,
  760. 'deleted' => '0',
  761. 'description' => '',
  762. 'display' => array(
  763. 'default' => array(
  764. 'label' => 'above',
  765. 'module' => 'text',
  766. 'settings' => array(),
  767. 'type' => 'text_default',
  768. 'weight' => 13,
  769. ),
  770. 'teaser' => array(
  771. 'label' => 'above',
  772. 'settings' => array(),
  773. 'type' => 'hidden',
  774. 'weight' => 0,
  775. ),
  776. ),
  777. 'entity_type' => 'node',
  778. 'field_name' => 'field_popsu_projet_methodo',
  779. 'label' => 'Démarche et méthodologie',
  780. 'required' => 0,
  781. 'settings' => array(
  782. 'text_processing' => '1',
  783. 'user_register_form' => FALSE,
  784. ),
  785. 'widget' => array(
  786. 'active' => 1,
  787. 'module' => 'text',
  788. 'settings' => array(
  789. 'rows' => '5',
  790. ),
  791. 'type' => 'text_textarea',
  792. 'weight' => '10',
  793. ),
  794. ),
  795. );
  796. // Exported field: 'node-popsu_projet-field_popsu_projet_presentation'.
  797. $fields['node-popsu_projet-field_popsu_projet_presentation'] = array(
  798. 'field_config' => array(
  799. 'active' => '1',
  800. 'cardinality' => '1',
  801. 'deleted' => '0',
  802. 'entity_types' => array(),
  803. 'field_name' => 'field_popsu_projet_presentation',
  804. 'foreign keys' => array(
  805. 'format' => array(
  806. 'columns' => array(
  807. 'format' => 'format',
  808. ),
  809. 'table' => 'filter_format',
  810. ),
  811. ),
  812. 'indexes' => array(
  813. 'format' => array(
  814. 0 => 'format',
  815. ),
  816. ),
  817. 'locked' => '0',
  818. 'module' => 'text',
  819. 'settings' => array(),
  820. 'translatable' => '0',
  821. 'type' => 'text_with_summary',
  822. ),
  823. 'field_instance' => array(
  824. 'bundle' => 'popsu_projet',
  825. 'default_value' => NULL,
  826. 'deleted' => '0',
  827. 'description' => '',
  828. 'display' => array(
  829. 'default' => array(
  830. 'label' => 'hidden',
  831. 'module' => 'text',
  832. 'settings' => array(),
  833. 'type' => 'text_default',
  834. 'weight' => '1',
  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_popsu_projet_presentation',
  845. 'label' => 'Texte de présentation',
  846. 'required' => 0,
  847. 'settings' => array(
  848. 'display_summary' => 0,
  849. 'text_processing' => '1',
  850. 'user_register_form' => FALSE,
  851. ),
  852. 'widget' => array(
  853. 'active' => 1,
  854. 'module' => 'text',
  855. 'settings' => array(
  856. 'rows' => '20',
  857. 'summary_rows' => 5,
  858. ),
  859. 'type' => 'text_textarea_with_summary',
  860. 'weight' => '2',
  861. ),
  862. ),
  863. );
  864. // Exported field: 'node-popsu_projet-field_popsu_projet_programme'.
  865. $fields['node-popsu_projet-field_popsu_projet_programme'] = array(
  866. 'field_config' => array(
  867. 'active' => '1',
  868. 'cardinality' => '1',
  869. 'deleted' => '0',
  870. 'entity_types' => array(),
  871. 'field_name' => 'field_popsu_projet_programme',
  872. 'foreign keys' => array(
  873. 'format' => array(
  874. 'columns' => array(
  875. 'format' => 'format',
  876. ),
  877. 'table' => 'filter_format',
  878. ),
  879. ),
  880. 'indexes' => array(
  881. 'format' => array(
  882. 0 => 'format',
  883. ),
  884. ),
  885. 'locked' => '0',
  886. 'module' => 'text',
  887. 'settings' => array(),
  888. 'translatable' => '0',
  889. 'type' => 'text_long',
  890. ),
  891. 'field_instance' => array(
  892. 'bundle' => 'popsu_projet',
  893. 'default_value' => NULL,
  894. 'deleted' => '0',
  895. 'description' => '',
  896. 'display' => array(
  897. 'default' => array(
  898. 'label' => 'hidden',
  899. 'module' => 'text',
  900. 'settings' => array(),
  901. 'type' => 'text_default',
  902. 'weight' => '3',
  903. ),
  904. 'teaser' => array(
  905. 'label' => 'above',
  906. 'settings' => array(),
  907. 'type' => 'hidden',
  908. 'weight' => 0,
  909. ),
  910. ),
  911. 'entity_type' => 'node',
  912. 'field_name' => 'field_popsu_projet_programme',
  913. 'label' => 'Programme',
  914. 'required' => 0,
  915. 'settings' => array(
  916. 'text_processing' => '1',
  917. 'user_register_form' => FALSE,
  918. ),
  919. 'widget' => array(
  920. 'active' => 1,
  921. 'module' => 'text',
  922. 'settings' => array(
  923. 'rows' => '5',
  924. ),
  925. 'type' => 'text_textarea',
  926. 'weight' => '5',
  927. ),
  928. ),
  929. );
  930. // Translatables
  931. // Included for use with string extractors like potx.
  932. t('Acteurs');
  933. t('Chronologie');
  934. t('Commune concernée (si agglomération)');
  935. t('Comparatif');
  936. t('Démarche et méthodologie');
  937. t('Emplacement du projet');
  938. t('Geolocalisation');
  939. t('Image d\'introduction');
  940. t('Image de localisation');
  941. t('Programme');
  942. t('Projets & thèmes liés');
  943. t('Texte de présentation');
  944. return $fields;
  945. }