You are here

function farm_crop_taxonomy_default_vocabularies in farmOS 7

Implements hook_taxonomy_default_vocabularies().

File

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

Code

function farm_crop_taxonomy_default_vocabularies() {
  return array(
    'farm_crop_families' => array(
      'name' => 'Farm Crop Families',
      'machine_name' => 'farm_crop_families',
      'description' => 'A taxonomy of crop families, for organizing crops.',
      '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_crops' => array(
      'name' => 'Farm Crops/Varieties',
      'machine_name' => 'farm_crops',
      'description' => 'A taxonomy of crops and varieties.',
      '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',
          ),
        ),
      ),
    ),
  );
}