function overlay_help

Implements hook_help().

File

modules/overlay/overlay.module, line 11

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.