popsu_villes.features.field_instance.inc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. <?php
  2. /**
  3. * @file
  4. * popsu_villes.features.field_instance.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_instances().
  8. */
  9. function popsu_villes_field_default_field_instances() {
  10. $field_instances = array();
  11. // Exported field_instance: 'node-popsu_ville-field_popsu_ville_body'.
  12. $field_instances['node-popsu_ville-field_popsu_ville_body'] = array(
  13. 'bundle' => 'popsu_ville',
  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' => 'above',
  27. 'settings' => array(),
  28. 'type' => 'hidden',
  29. 'weight' => 0,
  30. ),
  31. ),
  32. 'entity_type' => 'node',
  33. 'field_name' => 'field_popsu_ville_body',
  34. 'label' => 'Texte d\'introduction',
  35. 'required' => 0,
  36. 'settings' => array(
  37. 'display_summary' => 0,
  38. 'text_processing' => 1,
  39. 'user_register_form' => FALSE,
  40. ),
  41. 'widget' => array(
  42. 'active' => 1,
  43. 'module' => 'text',
  44. 'settings' => array(
  45. 'rows' => 20,
  46. 'summary_rows' => 5,
  47. ),
  48. 'type' => 'text_textarea_with_summary',
  49. 'weight' => 2,
  50. ),
  51. );
  52. // Exported field_instance: 'node-popsu_ville-field_popsu_ville_coordinateur'.
  53. $field_instances['node-popsu_ville-field_popsu_ville_coordinateur'] = array(
  54. 'bundle' => 'popsu_ville',
  55. 'default_value' => NULL,
  56. 'deleted' => 0,
  57. 'description' => '',
  58. 'display' => array(
  59. 'default' => array(
  60. 'label' => 'hidden',
  61. 'module' => 'text',
  62. 'settings' => array(),
  63. 'type' => 'text_default',
  64. 'weight' => 2,
  65. ),
  66. 'teaser' => array(
  67. 'label' => 'above',
  68. 'settings' => array(),
  69. 'type' => 'hidden',
  70. 'weight' => 0,
  71. ),
  72. ),
  73. 'entity_type' => 'node',
  74. 'field_name' => 'field_popsu_ville_coordinateur',
  75. 'label' => 'Coordinateur des acteurs',
  76. 'required' => 0,
  77. 'settings' => array(
  78. 'text_processing' => 1,
  79. 'user_register_form' => FALSE,
  80. ),
  81. 'widget' => array(
  82. 'active' => 1,
  83. 'module' => 'text',
  84. 'settings' => array(
  85. 'rows' => 5,
  86. ),
  87. 'type' => 'text_textarea',
  88. 'weight' => 4,
  89. ),
  90. );
  91. // Exported field_instance: 'node-popsu_ville-field_popsu_ville_equipe'.
  92. $field_instances['node-popsu_ville-field_popsu_ville_equipe'] = array(
  93. 'bundle' => 'popsu_ville',
  94. 'default_value' => NULL,
  95. 'deleted' => 0,
  96. 'description' => '',
  97. 'display' => array(
  98. 'default' => array(
  99. 'label' => 'hidden',
  100. 'module' => 'text',
  101. 'settings' => array(),
  102. 'type' => 'text_default',
  103. 'weight' => 1,
  104. ),
  105. 'teaser' => array(
  106. 'label' => 'above',
  107. 'settings' => array(),
  108. 'type' => 'hidden',
  109. 'weight' => 0,
  110. ),
  111. ),
  112. 'entity_type' => 'node',
  113. 'field_name' => 'field_popsu_ville_equipe',
  114. 'label' => 'Equipe de recherche',
  115. 'required' => 0,
  116. 'settings' => array(
  117. 'text_processing' => 1,
  118. 'user_register_form' => FALSE,
  119. ),
  120. 'widget' => array(
  121. 'active' => 1,
  122. 'module' => 'text',
  123. 'settings' => array(
  124. 'rows' => 5,
  125. ),
  126. 'type' => 'text_textarea',
  127. 'weight' => 3,
  128. ),
  129. );
  130. // Exported field_instance:
  131. // 'node-popsu_ville-field_popsu_ville_images_illustr'.
  132. $field_instances['node-popsu_ville-field_popsu_ville_images_illustr'] = array(
  133. 'bundle' => 'popsu_ville',
  134. 'deleted' => 0,
  135. 'description' => '',
  136. 'display' => array(
  137. 'default' => array(
  138. 'label' => 'hidden',
  139. 'settings' => array(),
  140. 'type' => 'hidden',
  141. 'weight' => 3,
  142. ),
  143. 'teaser' => array(
  144. 'label' => 'above',
  145. 'settings' => array(),
  146. 'type' => 'hidden',
  147. 'weight' => 0,
  148. ),
  149. ),
  150. 'entity_type' => 'node',
  151. 'field_name' => 'field_popsu_ville_images_illustr',
  152. 'label' => 'Grandes images d\'illustration',
  153. 'required' => 0,
  154. 'settings' => array(
  155. 'alt_field' => 0,
  156. 'default_image' => 0,
  157. 'file_directory' => '',
  158. 'file_extensions' => 'png gif jpg jpeg',
  159. 'filefield_paths' => array(
  160. 'active_updating' => 0,
  161. 'file_name' => array(
  162. 'options' => array(
  163. 'pathauto' => 1,
  164. 'transliterate' => 1,
  165. ),
  166. 'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
  167. ),
  168. 'file_path' => array(
  169. 'options' => array(
  170. 'pathauto' => 1,
  171. 'transliterate' => 1,
  172. ),
  173. 'value' => 'nodes/[node:content-type]/[node:nid]/illustr',
  174. ),
  175. 'retroactive_update' => 0,
  176. ),
  177. 'max_filesize' => '',
  178. 'max_resolution' => '',
  179. 'min_resolution' => '',
  180. 'title_field' => 1,
  181. 'user_register_form' => FALSE,
  182. ),
  183. 'widget' => array(
  184. 'active' => 1,
  185. 'module' => 'image',
  186. 'settings' => array(
  187. 'insert' => 0,
  188. 'insert_absolute' => FALSE,
  189. 'insert_class' => '',
  190. 'insert_default' => array(
  191. 0 => 'auto',
  192. ),
  193. 'insert_styles' => array(
  194. 0 => 'auto',
  195. ),
  196. 'insert_width' => '',
  197. 'preview_image_style' => 'thumbnail',
  198. 'progress_indicator' => 'throbber',
  199. ),
  200. 'type' => 'image_image',
  201. 'weight' => 5,
  202. ),
  203. );
  204. // Exported field_instance: 'node-popsu_ville-field_popsu_ville_images_small'.
  205. $field_instances['node-popsu_ville-field_popsu_ville_images_small'] = array(
  206. 'bundle' => 'popsu_ville',
  207. 'deleted' => 0,
  208. 'description' => '',
  209. 'display' => array(
  210. 'default' => array(
  211. 'label' => 'hidden',
  212. 'settings' => array(),
  213. 'type' => 'hidden',
  214. 'weight' => 4,
  215. ),
  216. 'teaser' => array(
  217. 'label' => 'above',
  218. 'settings' => array(),
  219. 'type' => 'hidden',
  220. 'weight' => 0,
  221. ),
  222. ),
  223. 'entity_type' => 'node',
  224. 'field_name' => 'field_popsu_ville_images_small',
  225. 'label' => 'Petites images d\'illustration',
  226. 'required' => 0,
  227. 'settings' => array(
  228. 'alt_field' => 0,
  229. 'default_image' => 0,
  230. 'file_directory' => '',
  231. 'file_extensions' => 'png gif jpg jpeg',
  232. 'filefield_paths' => array(
  233. 'active_updating' => 0,
  234. 'file_name' => array(
  235. 'options' => array(
  236. 'pathauto' => 1,
  237. 'transliterate' => 1,
  238. ),
  239. 'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
  240. ),
  241. 'file_path' => array(
  242. 'options' => array(
  243. 'pathauto' => 1,
  244. 'transliterate' => 1,
  245. ),
  246. 'value' => 'nodes/[node:content-type]/[node:nid]/small',
  247. ),
  248. 'retroactive_update' => 0,
  249. ),
  250. 'max_filesize' => '',
  251. 'max_resolution' => '',
  252. 'min_resolution' => '',
  253. 'title_field' => 1,
  254. 'user_register_form' => FALSE,
  255. ),
  256. 'widget' => array(
  257. 'active' => 1,
  258. 'module' => 'image',
  259. 'settings' => array(
  260. 'insert' => 0,
  261. 'insert_absolute' => FALSE,
  262. 'insert_class' => '',
  263. 'insert_default' => array(
  264. 0 => 'auto',
  265. ),
  266. 'insert_styles' => array(
  267. 0 => 'auto',
  268. ),
  269. 'insert_width' => '',
  270. 'preview_image_style' => 'thumbnail',
  271. 'progress_indicator' => 'throbber',
  272. ),
  273. 'type' => 'image_image',
  274. 'weight' => 6,
  275. ),
  276. );
  277. // Exported field_instance:
  278. // 'node-popsu_ville-field_popsu_ville_partenairesimg'.
  279. $field_instances['node-popsu_ville-field_popsu_ville_partenairesimg'] = array(
  280. 'bundle' => 'popsu_ville',
  281. 'deleted' => 0,
  282. 'description' => '',
  283. 'display' => array(
  284. 'default' => array(
  285. 'label' => 'hidden',
  286. 'settings' => array(),
  287. 'type' => 'hidden',
  288. 'weight' => 8,
  289. ),
  290. 'teaser' => array(
  291. 'label' => 'above',
  292. 'settings' => array(),
  293. 'type' => 'hidden',
  294. 'weight' => 0,
  295. ),
  296. ),
  297. 'entity_type' => 'node',
  298. 'field_name' => 'field_popsu_ville_partenairesimg',
  299. 'label' => 'Logos des partenaires',
  300. 'required' => 0,
  301. 'settings' => array(
  302. 'alt_field' => 0,
  303. 'default_image' => 0,
  304. 'file_directory' => '',
  305. 'file_extensions' => 'png gif jpg jpeg',
  306. 'filefield_paths' => array(
  307. 'active_updating' => 0,
  308. 'file_name' => array(
  309. 'options' => array(
  310. 'pathauto' => 1,
  311. 'transliterate' => 1,
  312. ),
  313. 'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
  314. ),
  315. 'file_path' => array(
  316. 'options' => array(
  317. 'pathauto' => 1,
  318. 'transliterate' => 1,
  319. ),
  320. 'value' => 'nodes/[node:content-type]/[node:nid]/partenaireslogo',
  321. ),
  322. 'retroactive_update' => 0,
  323. ),
  324. 'max_filesize' => '',
  325. 'max_resolution' => '',
  326. 'min_resolution' => '',
  327. 'title_field' => 1,
  328. 'user_register_form' => FALSE,
  329. ),
  330. 'widget' => array(
  331. 'active' => 1,
  332. 'module' => 'image',
  333. 'settings' => array(
  334. 'insert' => 0,
  335. 'insert_absolute' => FALSE,
  336. 'insert_class' => '',
  337. 'insert_default' => array(
  338. 0 => 'auto',
  339. ),
  340. 'insert_styles' => array(
  341. 0 => 'auto',
  342. ),
  343. 'insert_width' => '',
  344. 'preview_image_style' => 'thumbnail',
  345. 'progress_indicator' => 'throbber',
  346. ),
  347. 'type' => 'image_image',
  348. 'weight' => 7,
  349. ),
  350. );
  351. // Exported field_instance:
  352. // 'node-popsu_ville-field_popsu_ville_partenairestxt'.
  353. $field_instances['node-popsu_ville-field_popsu_ville_partenairestxt'] = array(
  354. 'bundle' => 'popsu_ville',
  355. 'default_value' => NULL,
  356. 'deleted' => 0,
  357. 'description' => '',
  358. 'display' => array(
  359. 'default' => array(
  360. 'label' => 'hidden',
  361. 'module' => 'text',
  362. 'settings' => array(),
  363. 'type' => 'text_default',
  364. 'weight' => 7,
  365. ),
  366. 'teaser' => array(
  367. 'label' => 'above',
  368. 'settings' => array(),
  369. 'type' => 'hidden',
  370. 'weight' => 0,
  371. ),
  372. ),
  373. 'entity_type' => 'node',
  374. 'field_name' => 'field_popsu_ville_partenairestxt',
  375. 'label' => 'Texte des partenaires',
  376. 'required' => 0,
  377. 'settings' => array(
  378. 'text_processing' => 0,
  379. 'user_register_form' => FALSE,
  380. ),
  381. 'widget' => array(
  382. 'active' => 1,
  383. 'module' => 'text',
  384. 'settings' => array(
  385. 'rows' => 5,
  386. ),
  387. 'type' => 'text_textarea',
  388. 'weight' => 8,
  389. ),
  390. );
  391. // Exported field_instance: 'node-popsu_ville-field_popsu_ville_popsu'.
  392. $field_instances['node-popsu_ville-field_popsu_ville_popsu'] = array(
  393. 'bundle' => 'popsu_ville',
  394. 'default_value' => array(
  395. 0 => array(
  396. 'tid' => 1,
  397. ),
  398. ),
  399. 'deleted' => 0,
  400. 'description' => '',
  401. 'display' => array(
  402. 'default' => array(
  403. 'label' => 'hidden',
  404. 'settings' => array(),
  405. 'type' => 'hidden',
  406. 'weight' => 5,
  407. ),
  408. 'teaser' => array(
  409. 'label' => 'above',
  410. 'settings' => array(),
  411. 'type' => 'hidden',
  412. 'weight' => 0,
  413. ),
  414. ),
  415. 'entity_type' => 'node',
  416. 'field_name' => 'field_popsu_ville_popsu',
  417. 'label' => 'POPSU',
  418. 'required' => 1,
  419. 'settings' => array(
  420. 'user_register_form' => FALSE,
  421. ),
  422. 'widget' => array(
  423. 'active' => 1,
  424. 'module' => 'options',
  425. 'settings' => array(),
  426. 'type' => 'options_select',
  427. 'weight' => 1,
  428. ),
  429. );
  430. // Exported field_instance: 'node-popsu_ville-field_popsu_ville_ville'.
  431. $field_instances['node-popsu_ville-field_popsu_ville_ville'] = array(
  432. 'bundle' => 'popsu_ville',
  433. 'default_value' => NULL,
  434. 'deleted' => 0,
  435. 'description' => '',
  436. 'display' => array(
  437. 'default' => array(
  438. 'label' => 'hidden',
  439. 'settings' => array(),
  440. 'type' => 'hidden',
  441. 'weight' => 6,
  442. ),
  443. 'teaser' => array(
  444. 'label' => 'above',
  445. 'settings' => array(),
  446. 'type' => 'hidden',
  447. 'weight' => 0,
  448. ),
  449. ),
  450. 'entity_type' => 'node',
  451. 'field_name' => 'field_popsu_ville_ville',
  452. 'label' => 'Ville',
  453. 'required' => 1,
  454. 'settings' => array(
  455. 'user_register_form' => FALSE,
  456. ),
  457. 'widget' => array(
  458. 'active' => 1,
  459. 'module' => 'options',
  460. 'settings' => array(),
  461. 'type' => 'options_select',
  462. 'weight' => 2,
  463. ),
  464. );
  465. // Translatables
  466. // Included for use with string extractors like potx.
  467. t('Coordinateur des acteurs');
  468. t('Equipe de recherche');
  469. t('Grandes images d\'illustration');
  470. t('Logos des partenaires');
  471. t('POPSU');
  472. t('Petites images d\'illustration');
  473. t('Texte d\'introduction');
  474. t('Texte des partenaires');
  475. t('Ville');
  476. return $field_instances;
  477. }