You are here

function drupalforfirebug_menu in Drupal For Firebug 5

Same name and namespace in other branches
  1. 6 drupalforfirebug.module \drupalforfirebug_menu()
  2. 7.2 drupalforfirebug.module \drupalforfirebug_menu()
  3. 7 drupalforfirebug.module \drupalforfirebug_menu()

Implementation of hook_menu()

File

./drupalforfirebug.module, line 6

Code

function drupalforfirebug_menu($may_cache) {
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/firebug/exec',
      'callback' => 'drupalforfirebug_get_exec_php_callback',
      'access' => TRUE,
      // set to true so non-permissioned users dont get full page displayed
      'type' => MENU_CALLBACK,
    );
  }
  return $items;
}