function update_helpful_links in Drupal 7
Provides links to the homepage and administration pages.
2 calls to update_helpful_links()
- update_results_page in ./
update.php - Displays results of the update script with any accompanying errors.
- update_script_selection_form in ./
update.php - Form constructor for the list of available database module updates.
File
- ./
update.php, line 153 - Administrative page for handling updates from one Drupal version to another.
Code
function update_helpful_links() {
$links[] = '<a href="' . base_path() . '">Front page</a>';
if (user_access('access administration pages')) {
$links[] = '<a href="' . base_path() . '?q=admin">Administration pages</a>';
}
return $links;
}