You are here

function spaces_context_prefix_provider in Spaces 5

Same name and namespace in other branches
  1. 5.2 spaces.module \spaces_context_prefix_provider()

File

./spaces.module, line 30

Code

function spaces_context_prefix_provider() {
  $items = array();
  $items['spaces'] = array(
    'name' => t('Spaces'),
    'description' => t('Sets a spaces context based on prefix.'),
    'callback' => 'spaces_init_context',
    'example' => 'my-space',
  );
  return $items;
}