You are here

function freepager_example_taxonomy_default_vocabularies in Free pager 7.2

Implements hook_taxonomy_default_vocabularies().

File

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

Code

function freepager_example_taxonomy_default_vocabularies() {
  return array(
    'section' => array(
      'name' => 'Section',
      'machine_name' => 'section',
      'description' => 'An example of how Free pager can be used to browse through content of a given taxonomy term.',
      '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',
          ),
        ),
      ),
    ),
  );
}