function page_example_help

Same name in other branches
  1. 3.x modules/page_example/page_example.module \page_example_help()
  2. 8.x-1.x page_example/page_example.module \page_example_help()
  3. 7.x-1.x page_example/page_example.module \page_example_help()
  4. 4.0.x modules/page_example/page_example.module \page_example_help()

Implementation of hook_help().

Related topics

File

page_example/page_example.module, line 26

Code

function page_example_help($path, $arg) {
    switch ($path) {
        case 'admin/help#page_example':
            $output = page_example_description();
            $output .= '<p>';
            $output .= t("The simple page requires 'access simple page'\n        permission. The different permissions page requires\n        'access content' permission. The custom access\n        callback page requires 'access content' permission\n        and the visitor to be signed in. The arguments page\n        requires 'access arguments page' permission.");
            $output .= '</p>';
            return $output;
    }
}