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

82 lines
2 KiB
PHP

<?php
/**
* @file
* farm_log.features.taxonomy.inc
*/
/**
* Implements hook_taxonomy_default_vocabularies().
*/
function farm_log_taxonomy_default_vocabularies() {
return array(
'farm_priority' => array(
'name' => 'Farm Priority Levels',
'machine_name' => 'farm_priority',
'description' => 'Levels of priority used to describe tasks.',
'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_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',
),
),
),
),
'farm_threats' => array(
'name' => 'Farm Threats',
'machine_name' => 'farm_threats',
'description' => 'External forces that threaten your stuff.',
'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',
),
),
),
),
);
}