popsu_villes.features.field.inc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. <?php
  2. /**
  3. * @file
  4. * popsu_villes.features.field.inc
  5. */
  6. /**
  7. * Implements hook_field_default_fields().
  8. */
  9. function popsu_villes_field_default_fields() {
  10. $fields = array();
  11. // Exported field: 'node-popsu_ville-field_popsu_ville_body'.
  12. $fields['node-popsu_ville-field_popsu_ville_body'] = array(
  13. 'field_config' => array(
  14. 'active' => '1',
  15. 'cardinality' => '1',
  16. 'deleted' => '0',
  17. 'entity_types' => array(),
  18. 'field_name' => 'field_popsu_ville_body',
  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_with_summary',
  37. ),
  38. 'field_instance' => array(
  39. 'bundle' => 'popsu_ville',
  40. 'default_value' => NULL,
  41. 'deleted' => '0',
  42. 'description' => '',
  43. 'display' => array(
  44. 'default' => array(
  45. 'label' => 'above',
  46. 'module' => 'text',
  47. 'settings' => array(),
  48. 'type' => 'text_default',
  49. 'weight' => '0',
  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_ville_body',
  60. 'label' => 'Texte d\'introduction',
  61. 'required' => 0,
  62. 'settings' => array(
  63. 'display_summary' => 0,
  64. 'text_processing' => '1',
  65. 'user_register_form' => FALSE,
  66. ),
  67. 'widget' => array(
  68. 'active' => 1,
  69. 'module' => 'text',
  70. 'settings' => array(
  71. 'rows' => '20',
  72. 'summary_rows' => 5,
  73. ),
  74. 'type' => 'text_textarea_with_summary',
  75. 'weight' => '2',
  76. ),
  77. ),
  78. );
  79. // Exported field: 'node-popsu_ville-field_popsu_ville_coordinateur'.
  80. $fields['node-popsu_ville-field_popsu_ville_coordinateur'] = array(
  81. 'field_config' => array(
  82. 'active' => '1',
  83. 'cardinality' => '1',
  84. 'deleted' => '0',
  85. 'entity_types' => array(),
  86. 'field_name' => 'field_popsu_ville_coordinateur',
  87. 'foreign keys' => array(
  88. 'format' => array(
  89. 'columns' => array(
  90. 'format' => 'format',
  91. ),
  92. 'table' => 'filter_format',
  93. ),
  94. ),
  95. 'indexes' => array(
  96. 'format' => array(
  97. 0 => 'format',
  98. ),
  99. ),
  100. 'locked' => '0',
  101. 'module' => 'text',
  102. 'settings' => array(),
  103. 'translatable' => '0',
  104. 'type' => 'text_long',
  105. ),
  106. 'field_instance' => array(
  107. 'bundle' => 'popsu_ville',
  108. 'default_value' => NULL,
  109. 'deleted' => '0',
  110. 'description' => '',
  111. 'display' => array(
  112. 'default' => array(
  113. 'label' => 'above',
  114. 'module' => 'text',
  115. 'settings' => array(),
  116. 'type' => 'text_default',
  117. 'weight' => '2',
  118. ),
  119. 'teaser' => array(
  120. 'label' => 'above',
  121. 'settings' => array(),
  122. 'type' => 'hidden',
  123. 'weight' => 0,
  124. ),
  125. ),
  126. 'entity_type' => 'node',
  127. 'field_name' => 'field_popsu_ville_coordinateur',
  128. 'label' => 'Coordinateur des acteurs',
  129. 'required' => 0,
  130. 'settings' => array(
  131. 'text_processing' => '1',
  132. 'user_register_form' => FALSE,
  133. ),
  134. 'widget' => array(
  135. 'active' => 1,
  136. 'module' => 'text',
  137. 'settings' => array(
  138. 'rows' => '5',
  139. ),
  140. 'type' => 'text_textarea',
  141. 'weight' => '4',
  142. ),
  143. ),
  144. );
  145. // Exported field: 'node-popsu_ville-field_popsu_ville_equipe'.
  146. $fields['node-popsu_ville-field_popsu_ville_equipe'] = array(
  147. 'field_config' => array(
  148. 'active' => '1',
  149. 'cardinality' => '1',
  150. 'deleted' => '0',
  151. 'entity_types' => array(),
  152. 'field_name' => 'field_popsu_ville_equipe',
  153. 'foreign keys' => array(
  154. 'format' => array(
  155. 'columns' => array(
  156. 'format' => 'format',
  157. ),
  158. 'table' => 'filter_format',
  159. ),
  160. ),
  161. 'indexes' => array(
  162. 'format' => array(
  163. 0 => 'format',
  164. ),
  165. ),
  166. 'locked' => '0',
  167. 'module' => 'text',
  168. 'settings' => array(),
  169. 'translatable' => '0',
  170. 'type' => 'text_long',
  171. ),
  172. 'field_instance' => array(
  173. 'bundle' => 'popsu_ville',
  174. 'default_value' => NULL,
  175. 'deleted' => '0',
  176. 'description' => '',
  177. 'display' => array(
  178. 'default' => array(
  179. 'label' => 'above',
  180. 'module' => 'text',
  181. 'settings' => array(),
  182. 'type' => 'text_default',
  183. 'weight' => '1',
  184. ),
  185. 'teaser' => array(
  186. 'label' => 'above',
  187. 'settings' => array(),
  188. 'type' => 'hidden',
  189. 'weight' => 0,
  190. ),
  191. ),
  192. 'entity_type' => 'node',
  193. 'field_name' => 'field_popsu_ville_equipe',
  194. 'label' => 'Equipe de recherche',
  195. 'required' => 0,
  196. 'settings' => array(
  197. 'text_processing' => '1',
  198. 'user_register_form' => FALSE,
  199. ),
  200. 'widget' => array(
  201. 'active' => 1,
  202. 'module' => 'text',
  203. 'settings' => array(
  204. 'rows' => '5',
  205. ),
  206. 'type' => 'text_textarea',
  207. 'weight' => '3',
  208. ),
  209. ),
  210. );
  211. // Exported field: 'node-popsu_ville-field_popsu_ville_images_illustr'.
  212. $fields['node-popsu_ville-field_popsu_ville_images_illustr'] = array(
  213. 'field_config' => array(
  214. 'active' => '1',
  215. 'cardinality' => '-1',
  216. 'deleted' => '0',
  217. 'entity_types' => array(),
  218. 'field_name' => 'field_popsu_ville_images_illustr',
  219. 'foreign keys' => array(
  220. 'fid' => array(
  221. 'columns' => array(
  222. 'fid' => 'fid',
  223. ),
  224. 'table' => 'file_managed',
  225. ),
  226. ),
  227. 'indexes' => array(
  228. 'fid' => array(
  229. 0 => 'fid',
  230. ),
  231. ),
  232. 'locked' => '0',
  233. 'module' => 'image',
  234. 'settings' => array(
  235. 'default_image' => 0,
  236. 'uri_scheme' => 'public',
  237. ),
  238. 'translatable' => '0',
  239. 'type' => 'image',
  240. ),
  241. 'field_instance' => array(
  242. 'bundle' => 'popsu_ville',
  243. 'deleted' => '0',
  244. 'description' => '',
  245. 'display' => array(
  246. 'default' => array(
  247. 'label' => 'above',
  248. 'module' => 'image',
  249. 'settings' => array(
  250. 'image_link' => '',
  251. 'image_style' => '',
  252. ),
  253. 'type' => 'image',
  254. 'weight' => '3',
  255. ),
  256. 'teaser' => array(
  257. 'label' => 'above',
  258. 'settings' => array(),
  259. 'type' => 'hidden',
  260. 'weight' => 0,
  261. ),
  262. ),
  263. 'entity_type' => 'node',
  264. 'field_name' => 'field_popsu_ville_images_illustr',
  265. 'label' => 'Grandes images d\'illustration',
  266. 'required' => 0,
  267. 'settings' => array(
  268. 'alt_field' => 0,
  269. 'default_image' => 0,
  270. 'file_directory' => '',
  271. 'file_extensions' => 'png gif jpg jpeg',
  272. 'filefield_paths' => array(
  273. 'active_updating' => 0,
  274. 'file_name' => array(
  275. 'options' => array(
  276. 'pathauto' => 1,
  277. 'transliterate' => 1,
  278. ),
  279. 'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
  280. ),
  281. 'file_path' => array(
  282. 'options' => array(
  283. 'pathauto' => 1,
  284. 'transliterate' => 1,
  285. ),
  286. 'value' => 'nodes/[node:content-type]/[node:nid]/illustr',
  287. ),
  288. 'retroactive_update' => 0,
  289. ),
  290. 'max_filesize' => '',
  291. 'max_resolution' => '',
  292. 'min_resolution' => '',
  293. 'title_field' => 1,
  294. 'user_register_form' => FALSE,
  295. ),
  296. 'widget' => array(
  297. 'active' => 1,
  298. 'module' => 'image',
  299. 'settings' => array(
  300. 'preview_image_style' => 'thumbnail',
  301. 'progress_indicator' => 'throbber',
  302. ),
  303. 'type' => 'image_image',
  304. 'weight' => '5',
  305. ),
  306. ),
  307. );
  308. // Exported field: 'node-popsu_ville-field_popsu_ville_images_small'.
  309. $fields['node-popsu_ville-field_popsu_ville_images_small'] = array(
  310. 'field_config' => array(
  311. 'active' => '1',
  312. 'cardinality' => '-1',
  313. 'deleted' => '0',
  314. 'entity_types' => array(),
  315. 'field_name' => 'field_popsu_ville_images_small',
  316. 'foreign keys' => array(
  317. 'fid' => array(
  318. 'columns' => array(
  319. 'fid' => 'fid',
  320. ),
  321. 'table' => 'file_managed',
  322. ),
  323. ),
  324. 'indexes' => array(
  325. 'fid' => array(
  326. 0 => 'fid',
  327. ),
  328. ),
  329. 'locked' => '0',
  330. 'module' => 'image',
  331. 'settings' => array(
  332. 'default_image' => 0,
  333. 'uri_scheme' => 'public',
  334. ),
  335. 'translatable' => '0',
  336. 'type' => 'image',
  337. ),
  338. 'field_instance' => array(
  339. 'bundle' => 'popsu_ville',
  340. 'deleted' => '0',
  341. 'description' => '',
  342. 'display' => array(
  343. 'default' => array(
  344. 'label' => 'above',
  345. 'module' => 'image',
  346. 'settings' => array(
  347. 'image_link' => '',
  348. 'image_style' => '',
  349. ),
  350. 'type' => 'image',
  351. 'weight' => '4',
  352. ),
  353. 'teaser' => array(
  354. 'label' => 'above',
  355. 'settings' => array(),
  356. 'type' => 'hidden',
  357. 'weight' => 0,
  358. ),
  359. ),
  360. 'entity_type' => 'node',
  361. 'field_name' => 'field_popsu_ville_images_small',
  362. 'label' => 'Petites images d\'illustration',
  363. 'required' => 0,
  364. 'settings' => array(
  365. 'alt_field' => 0,
  366. 'default_image' => 0,
  367. 'file_directory' => '',
  368. 'file_extensions' => 'png gif jpg jpeg',
  369. 'filefield_paths' => array(
  370. 'active_updating' => 0,
  371. 'file_name' => array(
  372. 'options' => array(
  373. 'pathauto' => 1,
  374. 'transliterate' => 1,
  375. ),
  376. 'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
  377. ),
  378. 'file_path' => array(
  379. 'options' => array(
  380. 'pathauto' => 1,
  381. 'transliterate' => 1,
  382. ),
  383. 'value' => 'nodes/[node:content-type]/[node:nid]/small',
  384. ),
  385. 'retroactive_update' => 0,
  386. ),
  387. 'max_filesize' => '',
  388. 'max_resolution' => '',
  389. 'min_resolution' => '',
  390. 'title_field' => 1,
  391. 'user_register_form' => FALSE,
  392. ),
  393. 'widget' => array(
  394. 'active' => 1,
  395. 'module' => 'image',
  396. 'settings' => array(
  397. 'preview_image_style' => 'thumbnail',
  398. 'progress_indicator' => 'throbber',
  399. ),
  400. 'type' => 'image_image',
  401. 'weight' => '6',
  402. ),
  403. ),
  404. );
  405. // Exported field: 'node-popsu_ville-field_popsu_ville_partenairesimg'.
  406. $fields['node-popsu_ville-field_popsu_ville_partenairesimg'] = array(
  407. 'field_config' => array(
  408. 'active' => '1',
  409. 'cardinality' => '-1',
  410. 'deleted' => '0',
  411. 'entity_types' => array(),
  412. 'field_name' => 'field_popsu_ville_partenairesimg',
  413. 'foreign keys' => array(
  414. 'fid' => array(
  415. 'columns' => array(
  416. 'fid' => 'fid',
  417. ),
  418. 'table' => 'file_managed',
  419. ),
  420. ),
  421. 'indexes' => array(
  422. 'fid' => array(
  423. 0 => 'fid',
  424. ),
  425. ),
  426. 'locked' => '0',
  427. 'module' => 'image',
  428. 'settings' => array(
  429. 'default_image' => 0,
  430. 'uri_scheme' => 'public',
  431. ),
  432. 'translatable' => '0',
  433. 'type' => 'image',
  434. ),
  435. 'field_instance' => array(
  436. 'bundle' => 'popsu_ville',
  437. 'deleted' => '0',
  438. 'description' => '',
  439. 'display' => array(
  440. 'default' => array(
  441. 'label' => 'above',
  442. 'module' => 'image',
  443. 'settings' => array(
  444. 'image_link' => '',
  445. 'image_style' => '',
  446. ),
  447. 'type' => 'image',
  448. 'weight' => 8,
  449. ),
  450. 'teaser' => array(
  451. 'label' => 'above',
  452. 'settings' => array(),
  453. 'type' => 'hidden',
  454. 'weight' => 0,
  455. ),
  456. ),
  457. 'entity_type' => 'node',
  458. 'field_name' => 'field_popsu_ville_partenairesimg',
  459. 'label' => 'Logos des partenaires',
  460. 'required' => 0,
  461. 'settings' => array(
  462. 'alt_field' => 0,
  463. 'default_image' => 0,
  464. 'file_directory' => '',
  465. 'file_extensions' => 'png gif jpg jpeg',
  466. 'filefield_paths' => array(
  467. 'active_updating' => 0,
  468. 'file_name' => array(
  469. 'options' => array(
  470. 'pathauto' => 1,
  471. 'transliterate' => 1,
  472. ),
  473. 'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
  474. ),
  475. 'file_path' => array(
  476. 'options' => array(
  477. 'pathauto' => 1,
  478. 'transliterate' => 1,
  479. ),
  480. 'value' => 'nodes/[node:content-type]/[node:nid]/partenaireslogo',
  481. ),
  482. 'retroactive_update' => 0,
  483. ),
  484. 'max_filesize' => '',
  485. 'max_resolution' => '',
  486. 'min_resolution' => '',
  487. 'title_field' => 1,
  488. 'user_register_form' => FALSE,
  489. ),
  490. 'widget' => array(
  491. 'active' => 1,
  492. 'module' => 'image',
  493. 'settings' => array(
  494. 'preview_image_style' => 'thumbnail',
  495. 'progress_indicator' => 'throbber',
  496. ),
  497. 'type' => 'image_image',
  498. 'weight' => '7',
  499. ),
  500. ),
  501. );
  502. // Exported field: 'node-popsu_ville-field_popsu_ville_partenairestxt'.
  503. $fields['node-popsu_ville-field_popsu_ville_partenairestxt'] = array(
  504. 'field_config' => array(
  505. 'active' => '1',
  506. 'cardinality' => '1',
  507. 'deleted' => '0',
  508. 'entity_types' => array(),
  509. 'field_name' => 'field_popsu_ville_partenairestxt',
  510. 'foreign keys' => array(
  511. 'format' => array(
  512. 'columns' => array(
  513. 'format' => 'format',
  514. ),
  515. 'table' => 'filter_format',
  516. ),
  517. ),
  518. 'indexes' => array(
  519. 'format' => array(
  520. 0 => 'format',
  521. ),
  522. ),
  523. 'locked' => '0',
  524. 'module' => 'text',
  525. 'settings' => array(),
  526. 'translatable' => '0',
  527. 'type' => 'text_long',
  528. ),
  529. 'field_instance' => array(
  530. 'bundle' => 'popsu_ville',
  531. 'default_value' => NULL,
  532. 'deleted' => '0',
  533. 'description' => '',
  534. 'display' => array(
  535. 'default' => array(
  536. 'label' => 'above',
  537. 'module' => 'text',
  538. 'settings' => array(),
  539. 'type' => 'text_default',
  540. 'weight' => 7,
  541. ),
  542. 'teaser' => array(
  543. 'label' => 'above',
  544. 'settings' => array(),
  545. 'type' => 'hidden',
  546. 'weight' => 0,
  547. ),
  548. ),
  549. 'entity_type' => 'node',
  550. 'field_name' => 'field_popsu_ville_partenairestxt',
  551. 'label' => 'Texte des partenaires',
  552. 'required' => 0,
  553. 'settings' => array(
  554. 'text_processing' => '0',
  555. 'user_register_form' => FALSE,
  556. ),
  557. 'widget' => array(
  558. 'active' => 1,
  559. 'module' => 'text',
  560. 'settings' => array(
  561. 'rows' => '5',
  562. ),
  563. 'type' => 'text_textarea',
  564. 'weight' => '8',
  565. ),
  566. ),
  567. );
  568. // Translatables
  569. // Included for use with string extractors like potx.
  570. t('Coordinateur des acteurs');
  571. t('Equipe de recherche');
  572. t('Grandes images d\'illustration');
  573. t('Logos des partenaires');
  574. t('Petites images d\'illustration');
  575. t('Texte d\'introduction');
  576. t('Texte des partenaires');
  577. return $fields;
  578. }