'user/' . $account->uid . '/find_friends', 'title' => t('Find friends'), ); } return $links; } /** * Perform alterations on utility links. * * @param $links * An associative array of utility links whose keys are used as its CSS class. * Each link should be itself an array, with the same elements used in * theme_links(), except for the addition of a 'weight' element that is used * for ordering the links. * * @see theme_links() * @see hook_commons_utility_links() */ function hook_commons_utility_links_alter(&$links) { // Change the title of the user account link from the user's name to // 'Account'. $links['name']['title'] = t('Account'); } /** * @} End of "addtogroup hooks". */