You are here

function spaces_get_space in Spaces 7.3

Same name and namespace in other branches
  1. 5.2 spaces.module \spaces_get_space()
  2. 6.3 spaces.module \spaces_get_space()
  3. 6 spaces.module \spaces_get_space()
  4. 6.2 spaces.module \spaces_get_space()
  5. 7 spaces.module \spaces_get_space()

Wrapper function around spaces_set_space(). Retrieves the current active space for a given space type.

29 calls to spaces_get_space()
spaces_access_admin in ./spaces.module
Access check for administrative access to the current space. An optional set of permissions can be provided to be added as AND conditions to the access check.
spaces_access_feature in ./spaces.module
Access check for a given feature in the current space.
spaces_access_space in ./spaces.module
Access check for the current space.
spaces_access_user in ./spaces.module
Access check for a user account page in the current space.
spaces_block_view in ./spaces.module
Implements hook_block_view().

... See full list

File

./spaces.module, line 61

Code

function spaces_get_space() {
  return spaces_set_space();
}