3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
farmOS/modules/farm/farm_crop/farm_crop.features.taxonomy.inc

59 lines
1.4 KiB
PHP

<?php
/**
* @file
* farm_crop.features.taxonomy.inc
*/
/**
* Implements hook_taxonomy_default_vocabularies().
*/
function farm_crop_taxonomy_default_vocabularies() {
return array(
'farm_crop_families' => array(
'name' => 'Farm Crop Families',
'machine_name' => 'farm_crop_families',
'description' => 'A taxonomy of crop families, for organizing crops.',
'hierarchy' => 0,
'module' => 'taxonomy',
'weight' => 0,
'rdf_mapping' => array(
'rdftype' => array(
0 => 'skos:ConceptScheme',
),
'name' => array(
'predicates' => array(
0 => 'dc:title',
),
),
'description' => array(
'predicates' => array(
0 => 'rdfs:comment',
),
),
),
),
'farm_crops' => array(
'name' => 'Farm Crops/Varieties',
'machine_name' => 'farm_crops',
'description' => 'A taxonomy of crops and varieties.',
'hierarchy' => 1,
'module' => 'taxonomy',
'weight' => 0,
'rdf_mapping' => array(
'rdftype' => array(
0 => 'skos:ConceptScheme',
),
'name' => array(
'predicates' => array(
0 => 'dc:title',
),
),
'description' => array(
'predicates' => array(
0 => 'rdfs:comment',
),
),
),
),
);
}