popsu_taxonomies.features.taxonomy.inc 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. /**
  3. * @file
  4. * popsu_taxonomies.features.taxonomy.inc
  5. */
  6. /**
  7. * Implements hook_taxonomy_default_vocabularies().
  8. */
  9. function popsu_taxonomies_taxonomy_default_vocabularies() {
  10. return array(
  11. 'popsu_popsu' => array(
  12. 'name' => 'POPSU',
  13. 'machine_name' => 'popsu_popsu',
  14. 'description' => 'Liste des POPSU',
  15. 'hierarchy' => '1',
  16. 'module' => 'taxonomy',
  17. 'weight' => '-10',
  18. 'language' => 'und',
  19. 'i18n_mode' => '0',
  20. 'rdf_mapping' => array(
  21. 'rdftype' => array(
  22. 0 => 'skos:ConceptScheme',
  23. ),
  24. 'name' => array(
  25. 'predicates' => array(
  26. 0 => 'dc:title',
  27. ),
  28. ),
  29. 'description' => array(
  30. 'predicates' => array(
  31. 0 => 'rdfs:comment',
  32. ),
  33. ),
  34. ),
  35. ),
  36. 'popsu_villes' => array(
  37. 'name' => 'Villes',
  38. 'machine_name' => 'popsu_villes',
  39. 'description' => 'Liste des villes',
  40. 'hierarchy' => '0',
  41. 'module' => 'taxonomy',
  42. 'weight' => '-9',
  43. 'language' => 'und',
  44. 'i18n_mode' => '0',
  45. 'rdf_mapping' => array(
  46. 'rdftype' => array(
  47. 0 => 'skos:ConceptScheme',
  48. ),
  49. 'name' => array(
  50. 'predicates' => array(
  51. 0 => 'dc:title',
  52. ),
  53. ),
  54. 'description' => array(
  55. 'predicates' => array(
  56. 0 => 'rdfs:comment',
  57. ),
  58. ),
  59. ),
  60. ),
  61. );
  62. }