You are here

function spaces_user_links in Spaces 6.2

Generates an array of user links for the current space suitable for use in theme_links().

1 call to spaces_user_links()
spaces_preprocess_page in ./spaces.module
theme_page() preprocessor.

File

./spaces.module, line 1416

Code

function spaces_user_links($space = NULL) {
  $space = !isset($space) ? spaces_get_space() : $space;
  if ($space) {
    $links = $space
      ->user_links();
    drupal_alter('spaces_user_links', $links, $space);
    return $links;
  }
  return array();
}