popsu_themes_trans.features.field.inc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. <?php
  2. /**
  3. * @file
  4. * popsu_themes_trans.features.field.inc
  5. */
  6. /**
  7. * Implements hook_field_default_fields().
  8. */
  9. function popsu_themes_trans_field_default_fields() {
  10. $fields = array();
  11. // Exported field: 'node-popsu_theme_trans-field_popsu_themtrans_body'.
  12. $fields['node-popsu_theme_trans-field_popsu_themtrans_body'] = array(
  13. 'field_config' => array(
  14. 'active' => '1',
  15. 'cardinality' => '1',
  16. 'deleted' => '0',
  17. 'entity_types' => array(),
  18. 'field_name' => 'field_popsu_themtrans_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_theme_trans',
  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_themtrans_body',
  60. 'label' => 'Texte d\'introduction court',
  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_theme_trans-field_popsu_themtrans_equipes'.
  80. $fields['node-popsu_theme_trans-field_popsu_themtrans_equipes'] = array(
  81. 'field_config' => array(
  82. 'active' => '1',
  83. 'cardinality' => '1',
  84. 'deleted' => '0',
  85. 'entity_types' => array(),
  86. 'field_name' => 'field_popsu_themtrans_equipes',
  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_theme_trans',
  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' => '3',
  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_themtrans_equipes',
  128. 'label' => 'Equipes',
  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' => '5',
  142. ),
  143. ),
  144. );
  145. // Exported field: 'node-popsu_theme_trans-field_popsu_themtrans_imag_illus'.
  146. $fields['node-popsu_theme_trans-field_popsu_themtrans_imag_illus'] = array(
  147. 'field_config' => array(
  148. 'active' => '1',
  149. 'cardinality' => '-1',
  150. 'deleted' => '0',
  151. 'entity_types' => array(),
  152. 'field_name' => 'field_popsu_themtrans_imag_illus',
  153. 'foreign keys' => array(
  154. 'fid' => array(
  155. 'columns' => array(
  156. 'fid' => 'fid',
  157. ),
  158. 'table' => 'file_managed',
  159. ),
  160. ),
  161. 'indexes' => array(
  162. 'fid' => array(
  163. 0 => 'fid',
  164. ),
  165. ),
  166. 'locked' => '0',
  167. 'module' => 'image',
  168. 'settings' => array(
  169. 'default_image' => 0,
  170. 'uri_scheme' => 'public',
  171. ),
  172. 'translatable' => '0',
  173. 'type' => 'image',
  174. ),
  175. 'field_instance' => array(
  176. 'bundle' => 'popsu_theme_trans',
  177. 'deleted' => '0',
  178. 'description' => '',
  179. 'display' => array(
  180. 'default' => array(
  181. 'label' => 'above',
  182. 'module' => 'image',
  183. 'settings' => array(
  184. 'image_link' => '',
  185. 'image_style' => '',
  186. ),
  187. 'type' => 'image',
  188. 'weight' => 6,
  189. ),
  190. 'teaser' => array(
  191. 'label' => 'above',
  192. 'settings' => array(),
  193. 'type' => 'hidden',
  194. 'weight' => 0,
  195. ),
  196. ),
  197. 'entity_type' => 'node',
  198. 'field_name' => 'field_popsu_themtrans_imag_illus',
  199. 'label' => 'Grandes images d\'illustration',
  200. 'required' => 0,
  201. 'settings' => array(
  202. 'alt_field' => 0,
  203. 'default_image' => 0,
  204. 'file_directory' => '',
  205. 'file_extensions' => 'png gif jpg jpeg',
  206. 'filefield_paths' => array(
  207. 'active_updating' => 0,
  208. 'file_name' => array(
  209. 'options' => array(
  210. 'pathauto' => 1,
  211. 'transliterate' => 1,
  212. ),
  213. 'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
  214. ),
  215. 'file_path' => array(
  216. 'options' => array(
  217. 'pathauto' => 1,
  218. 'transliterate' => 1,
  219. ),
  220. 'value' => 'nodes/[node:content-type]/[node:nid]/illustr',
  221. ),
  222. 'retroactive_update' => 0,
  223. ),
  224. 'max_filesize' => '',
  225. 'max_resolution' => '',
  226. 'min_resolution' => '',
  227. 'title_field' => 1,
  228. 'user_register_form' => FALSE,
  229. ),
  230. 'widget' => array(
  231. 'active' => 1,
  232. 'module' => 'image',
  233. 'settings' => array(
  234. 'preview_image_style' => 'thumbnail',
  235. 'progress_indicator' => 'throbber',
  236. ),
  237. 'type' => 'image_image',
  238. 'weight' => '6',
  239. ),
  240. ),
  241. );
  242. // Exported field: 'node-popsu_theme_trans-field_popsu_themtrans_introlong'.
  243. $fields['node-popsu_theme_trans-field_popsu_themtrans_introlong'] = array(
  244. 'field_config' => array(
  245. 'active' => '1',
  246. 'cardinality' => '1',
  247. 'deleted' => '0',
  248. 'entity_types' => array(),
  249. 'field_name' => 'field_popsu_themtrans_introlong',
  250. 'foreign keys' => array(
  251. 'format' => array(
  252. 'columns' => array(
  253. 'format' => 'format',
  254. ),
  255. 'table' => 'filter_format',
  256. ),
  257. ),
  258. 'indexes' => array(
  259. 'format' => array(
  260. 0 => 'format',
  261. ),
  262. ),
  263. 'locked' => '0',
  264. 'module' => 'text',
  265. 'settings' => array(),
  266. 'translatable' => '0',
  267. 'type' => 'text_long',
  268. ),
  269. 'field_instance' => array(
  270. 'bundle' => 'popsu_theme_trans',
  271. 'default_value' => NULL,
  272. 'deleted' => '0',
  273. 'description' => '',
  274. 'display' => array(
  275. 'default' => array(
  276. 'label' => 'above',
  277. 'module' => 'text',
  278. 'settings' => array(),
  279. 'type' => 'text_default',
  280. 'weight' => '1',
  281. ),
  282. 'teaser' => array(
  283. 'label' => 'above',
  284. 'settings' => array(),
  285. 'type' => 'hidden',
  286. 'weight' => 0,
  287. ),
  288. ),
  289. 'entity_type' => 'node',
  290. 'field_name' => 'field_popsu_themtrans_introlong',
  291. 'label' => 'Texte d\'introduction long',
  292. 'required' => 0,
  293. 'settings' => array(
  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' => '4',
  305. ),
  306. ),
  307. );
  308. // Exported field: 'node-popsu_theme_trans-field_popsu_themtrans_ref'.
  309. $fields['node-popsu_theme_trans-field_popsu_themtrans_ref'] = array(
  310. 'field_config' => array(
  311. 'active' => '1',
  312. 'cardinality' => '1',
  313. 'deleted' => '0',
  314. 'entity_types' => array(),
  315. 'field_name' => 'field_popsu_themtrans_ref',
  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_theme_trans',
  337. 'default_value' => NULL,
  338. 'deleted' => '0',
  339. 'description' => '',
  340. 'display' => array(
  341. 'default' => array(
  342. 'label' => 'above',
  343. 'module' => 'text',
  344. 'settings' => array(),
  345. 'type' => 'text_default',
  346. 'weight' => 7,
  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_themtrans_ref',
  357. 'label' => 'Publications',
  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' => '6',
  371. ),
  372. ),
  373. );
  374. // Exported field: 'node-popsu_theme_trans-field_popsu_themtrans_reponses'.
  375. $fields['node-popsu_theme_trans-field_popsu_themtrans_reponses'] = array(
  376. 'field_config' => array(
  377. 'active' => '1',
  378. 'cardinality' => '1',
  379. 'deleted' => '0',
  380. 'entity_types' => array(),
  381. 'field_name' => 'field_popsu_themtrans_reponses',
  382. 'foreign keys' => array(
  383. 'format' => array(
  384. 'columns' => array(
  385. 'format' => 'format',
  386. ),
  387. 'table' => 'filter_format',
  388. ),
  389. ),
  390. 'indexes' => array(
  391. 'format' => array(
  392. 0 => 'format',
  393. ),
  394. ),
  395. 'locked' => '0',
  396. 'module' => 'text',
  397. 'settings' => array(),
  398. 'translatable' => '0',
  399. 'type' => 'text_long',
  400. ),
  401. 'field_instance' => array(
  402. 'bundle' => 'popsu_theme_trans',
  403. 'default_value' => NULL,
  404. 'deleted' => '0',
  405. 'description' => '',
  406. 'display' => array(
  407. 'default' => array(
  408. 'label' => 'above',
  409. 'module' => 'text',
  410. 'settings' => array(),
  411. 'type' => 'text_default',
  412. 'weight' => '2',
  413. ),
  414. 'teaser' => array(
  415. 'label' => 'above',
  416. 'settings' => array(),
  417. 'type' => 'hidden',
  418. 'weight' => 0,
  419. ),
  420. ),
  421. 'entity_type' => 'node',
  422. 'field_name' => 'field_popsu_themtrans_reponses',
  423. 'label' => 'Réponses au questionnaire',
  424. 'required' => 0,
  425. 'settings' => array(
  426. 'text_processing' => '1',
  427. 'user_register_form' => FALSE,
  428. ),
  429. 'widget' => array(
  430. 'active' => 1,
  431. 'module' => 'text',
  432. 'settings' => array(
  433. 'rows' => '5',
  434. ),
  435. 'type' => 'text_textarea',
  436. 'weight' => '4',
  437. ),
  438. ),
  439. );
  440. // Exported field: 'node-popsu_theme_trans-field_popsu_themtrans_type'.
  441. $fields['node-popsu_theme_trans-field_popsu_themtrans_type'] = array(
  442. 'field_config' => array(
  443. 'active' => '1',
  444. 'cardinality' => '1',
  445. 'deleted' => '0',
  446. 'entity_types' => array(),
  447. 'field_name' => 'field_popsu_themtrans_type',
  448. 'foreign keys' => array(
  449. 'tid' => array(
  450. 'columns' => array(
  451. 'tid' => 'tid',
  452. ),
  453. 'table' => 'taxonomy_term_data',
  454. ),
  455. ),
  456. 'indexes' => array(
  457. 'tid' => array(
  458. 0 => 'tid',
  459. ),
  460. ),
  461. 'locked' => '0',
  462. 'module' => 'taxonomy',
  463. 'settings' => array(
  464. 'allowed_values' => array(
  465. 0 => array(
  466. 'vocabulary' => 'popsu_themtrans',
  467. 'parent' => '0',
  468. ),
  469. ),
  470. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  471. ),
  472. 'translatable' => '0',
  473. 'type' => 'taxonomy_term_reference',
  474. ),
  475. 'field_instance' => array(
  476. 'bundle' => 'popsu_theme_trans',
  477. 'default_value' => NULL,
  478. 'deleted' => '0',
  479. 'description' => '',
  480. 'display' => array(
  481. 'default' => array(
  482. 'label' => 'above',
  483. 'module' => 'i18n_taxonomy',
  484. 'settings' => array(),
  485. 'type' => 'i18n_taxonomy_term_reference_link',
  486. 'weight' => 8,
  487. ),
  488. 'teaser' => array(
  489. 'label' => 'above',
  490. 'settings' => array(),
  491. 'type' => 'hidden',
  492. 'weight' => 0,
  493. ),
  494. ),
  495. 'entity_type' => 'node',
  496. 'field_name' => 'field_popsu_themtrans_type',
  497. 'label' => 'Typologie du thème',
  498. 'required' => 1,
  499. 'settings' => array(
  500. 'user_register_form' => FALSE,
  501. ),
  502. 'widget' => array(
  503. 'active' => 1,
  504. 'module' => 'options',
  505. 'settings' => array(),
  506. 'type' => 'options_select',
  507. 'weight' => '1',
  508. ),
  509. ),
  510. );
  511. // Translatables
  512. // Included for use with string extractors like potx.
  513. t('Equipes');
  514. t('Grandes images d\'illustration');
  515. t('Publications');
  516. t('Réponses au questionnaire');
  517. t('Texte d\'introduction court');
  518. t('Texte d\'introduction long');
  519. t('Typologie du thème');
  520. return $fields;
  521. }