| 6 menu_example.module | _menu_example_basic_instructions($content = NULL) |
| 7 menu_example.module | _menu_example_basic_instructions($content = NULL) |
| 8 menu_example.module | _menu_example_basic_instructions($content = NULL) |
Page callback for the simplest introduction menu entry.
Parameters
$content: Some content passed in.
Related topics
1 string reference to '_menu_example_basic_instructions'
File
- menu_example/
menu_example.module, line 291 - Demonstrates uses of the Menu APIs in Drupal, including hook_menu(), hook_menu_alter(), and hook_menu_link_alter().
Code
function _menu_example_basic_instructions($content = NULL) {
$base_content = t(
'This is the base page of the Menu Example. There are a number of examples
here, from the most basic (like this one) to extravagant mappings of loaded
placeholder arguments. Enjoy!');
return '<div>' . $base_content . '</div><br /><div>' . $content . '</div>';
}
Login or register to post comments