You are here

function echo_menu in Echo 7

Same name and namespace in other branches
  1. 8 echo.module \echo_menu()
  2. 6 echo.module \echo_menu()

Implements hook_menu().

File

./echo.module, line 62
The echo module converts text into a fully-themed page.

Code

function echo_menu() {
  return array(
    'echo' => array(
      'title callback' => '_echo_request',
      'title arguments' => array(
        'title',
      ),
      'page callback' => '_echo_request',
      'page arguments' => array(
        'content',
      ),
      'theme callback' => '_echo_request',
      'theme arguments' => array(
        'theme',
      ),
      'access callback' => '_echo_access',
      'type' => MENU_CALLBACK,
    ),
  );
}