page_example_help
Definition
page_example_help($section)
developer/examples/page_example.module, line 17
Description
Implementation of hook_help().
Throughout Drupal, hook_help() is used to display help text at the top of pages. Some other parts of Drupal pages get explanatory text from these hooks as well. We use it here to illustrate how to add help text to the pages your module defines.
Code
<?php
function page_example_help($section) {
switch ($section) {
case 'foo':
// Here is some help text for a custom page.
return t('This sentence contains all the letters in the English alphabet.');
}
}
?> 