You are here

function spaces_taxonomy_purl_provider in Spaces 7

Same name and namespace in other branches
  1. 6.3 spaces_taxonomy/spaces_taxonomy.module \spaces_taxonomy_purl_provider()
  2. 7.3 spaces_taxonomy/spaces_taxonomy.module \spaces_taxonomy_purl_provider()

Implements hook_purl_provider().

File

spaces_taxonomy/spaces_taxonomy.module, line 30
spaces_taxonomy.module

Code

function spaces_taxonomy_purl_provider() {
  $items = array();
  $items["spaces_taxonomy"] = array(
    'name' => t('Term space'),
    'description' => t('Sets a space as the active space.'),
    'callback' => 'spaces_init_space',
    'callback arguments' => array(
      'taxonomy',
    ),
    'example' => 'my-space',
  );
  return $items;
}