You are here

function farm_area_taxonomy_default_vocabularies in farmOS 7

Implements hook_taxonomy_default_vocabularies().

File

modules/farm/farm_area/farm_area.features.taxonomy.inc, line 10
farm_area.features.taxonomy.inc

Code

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',
          ),
        ),
      ),
    ),
  );
}