function update_helpful_links

update_helpful_links()

Provides links to the homepage and administration pages.

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/update.php/function/update_helpful_links/7.x