mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
36 lines
823 B
PHP
36 lines
823 B
PHP
<?php
|
|
/**
|
|
* @file
|
|
* farm_area.features.taxonomy.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_taxonomy_default_vocabularies().
|
|
*/
|
|
function farm_area_taxonomy_default_vocabularies() {
|
|
return array(
|
|
'farm_areas' => array(
|
|
'name' => 'Farm Areas',
|
|
'machine_name' => 'farm_areas',
|
|
'description' => 'Distinct areas (fields, beds, greenhouses, etc) that crops are planted into.',
|
|
'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',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|