You are here

function _menu_example_basic_instructions in Examples for Developers 6

Same name and namespace in other branches
  1. 7 menu_example/menu_example.module \_menu_example_basic_instructions()

Page callback for the simplest introduction menu entry.

Parameters

$content: Some content passed in.

Related topics

1 string reference to '_menu_example_basic_instructions'
menu_example_menu in menu_example/menu_example.module
Implementatation of hook_menu().

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