overlay_help

function overlay_help

overlay_help($path, $arg)

Implements hook_help().

File

modules/overlay/overlay.module, line 11
Displays the Drupal administration interface in an overlay.

Code

function overlay_help($path, $arg) {
  switch ($path) {
    case 'admin/help#overlay':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Overlay module makes the administration pages on your site display in a JavaScript overlay of the page you were viewing when you clicked the administrative link, instead of replacing the page in your browser window. Use the close link on the overlay to return to the page you were viewing when you clicked the link. For more information, see the online handbook entry for <a href="drupal_7-modules-overlay-overlay-module-function-overlay_help-@overlay">Overlay module<-a>-', array('@overlay' => 'http:--drupal-org-documentation-modules-overlay')) - '<-p>';
      return $output;
  }
}

© 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/modules!overlay!overlay.module/function/overlay_help/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部