function farm_quantity_taxonomy_default_vocabularies in farmOS 7
Implements hook_taxonomy_default_vocabularies().
File
- modules/
farm/ farm_quantity/ farm_quantity.features.taxonomy.inc, line 10 - farm_quantity.features.taxonomy.inc
Code
function farm_quantity_taxonomy_default_vocabularies() {
return array(
'farm_quantity_units' => array(
'name' => 'Farm Quantity Units',
'machine_name' => 'farm_quantity_units',
'description' => 'A vocabulary of units for describing quantities.',
'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',
),
),
),
),
);
}