function hook_commons_utility_links_alter in Drupal Commons 7.3
Perform alterations on utility links.
Parameters
$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 also
1 function implements hook_commons_utility_links_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- commons_origins_commons_utility_links_alter in themes/
commons/ commons_origins/ template.php - Implements hook_commons_utility_links_alter().
1 invocation of hook_commons_utility_links_alter()
- commons_utility_links_block_view in modules/
commons/ commons_utility_links/ commons_utility_links.module - Implements hook_block_view().
File
- modules/
commons/ commons_utility_links/ commons_utility_links.api.php, line 60 - Hooks provided by the Commons Utility Links module.
Code
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');
}