You are here

farm_area.features.taxonomy.inc in farmOS 7

File

modules/farm/farm_area/farm_area.features.taxonomy.inc
View source
<?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',
          ),
        ),
      ),
    ),
  );
}

Functions

Namesort descending Description
farm_area_taxonomy_default_vocabularies Implements hook_taxonomy_default_vocabularies().