You are here

freepager_example.features.taxonomy.inc in Free pager 7.2

File

freepager_example/freepager_example.features.taxonomy.inc
View source
<?php

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

/**
 * Implements hook_taxonomy_default_vocabularies().
 */
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',
          ),
        ),
      ),
    ),
  );
}

Functions

Namesort descending Description
freepager_example_taxonomy_default_vocabularies Implements hook_taxonomy_default_vocabularies().