You are here

function enterprise_base_taxonomy_default_vocabularies in Enterprise Base 7.3

Same name and namespace in other branches
  1. 7 enterprise_base.features.taxonomy.inc \enterprise_base_taxonomy_default_vocabularies()

Implements hook_taxonomy_default_vocabularies().

File

./enterprise_base.features.taxonomy.inc, line 10
enterprise_base.features.taxonomy.inc

Code

function enterprise_base_taxonomy_default_vocabularies() {
  return array(
    'tags' => array(
      'name' => 'Tags',
      'machine_name' => 'tags',
      'description' => 'Use tags to group articles on similar topics into categories.',
      'hierarchy' => 0,
      'module' => 'taxonomy',
      'weight' => 0,
      'entity_type' => 'taxonomy_vocabulary',
      'microdata' => array(
        '#attributes' => array(
          'itemscope' => '',
        ),
      ),
      'rdf_mapping' => array(
        'rdftype' => array(
          0 => 'skos:ConceptScheme',
        ),
        'name' => array(
          'predicates' => array(
            0 => 'dc:title',
          ),
        ),
        'description' => array(
          'predicates' => array(
            0 => 'rdfs:comment',
          ),
        ),
      ),
    ),
  );
}