function spaces_og_user in Spaces 6.3
Same name and namespace in other branches
- 5.2 spaces_og.module \spaces_og_user()
- 6 spaces_og/spaces_og.module \spaces_og_user()
Implementation of hook_user().
File
- spaces_og/
spaces_og.module, line 214
Code
function spaces_og_user($op, &$edit, &$account, $category = NULL) {
global $user;
switch ($op) {
case 'categories':
$data = array();
$data[] = array(
'name' => 'groups',
'title' => t('Groups'),
'weight' => 10,
);
return $data;
}
}