You are here

commons_topics.features.taxonomy.inc in Drupal Commons 7.3

File

modules/commons/commons_topics/commons_topics.features.taxonomy.inc
View source
<?php

/**
 * @file
 * commons_topics.features.taxonomy.inc
 */

/**
 * Implements hook_taxonomy_default_vocabularies().
 */
function commons_topics_taxonomy_default_vocabularies() {
  return array(
    'topics' => array(
      'name' => 'Topics',
      'machine_name' => 'topics',
      'description' => '',
      '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',
          ),
        ),
      ),
    ),
  );
}

Functions

Namesort descending Description
commons_topics_taxonomy_default_vocabularies Implements hook_taxonomy_default_vocabularies().