You are here

function overlay_help in Drupal 7

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="@overlay">Overlay module</a>.', array(
        '@overlay' => 'http://drupal.org/documentation/modules/overlay',
      )) . '</p>';
      return $output;
  }
}