You are here

function _menu_example_basic_instructions in Examples for Developers 7

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

Page callback for the simplest introduction menu entry.

Parameters

string $content: Some content passed in.

Related topics

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

File

menu_example/menu_example.module, line 324
Module file for menu_example.

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