You are here

function echo_menu in Echo 8

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

Implements hook_menu().

File

./echo.module, line 63
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,
    ),
  );
}