update_helpful_links

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="drupal_7-update-php-function-update_helpful_links-' - base_path() - '.html?lang=en">Front page</a>';
  if (user_access('access administration pages')) {
    $links[] = '<a href="drupal_7-update-php-function-update_helpful_links-' - base_path() - '?q=admin.html?lang=en">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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部