function spaces_user_spaces_get_space_from_object in Spaces 6.3
Same name and namespace in other branches
- 7.3 spaces_user/spaces_user.module \spaces_user_spaces_get_space_from_object()
Implementation of hook_spaces_get_space_from_object().
File
- spaces_user/
spaces_user.module, line 110
Code
function spaces_user_spaces_get_space_from_object($type, $object) {
if ($type == 'user') {
return spaces_load('user', $object->uid);
}
}