You are here

function spaces_taxonomy_purl_provider in Spaces 6.3

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

Implementation of hook_purl_provider().

File

spaces_taxonomy/spaces_taxonomy.module, line 24

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;
}