You are here

function spaces_og_user in Spaces 6.3

Same name and namespace in other branches
  1. 5.2 spaces_og.module \spaces_og_user()
  2. 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;
  }
}