Routing Debug page
Routing Debug block

Overview

Routing Debug is a simple module that provides menu routing table with additional information like:

  • name of the callback function,
  • filename and path of file where the callback is defined,
  • line number of function definition.

Intention of the module is to help developer to identify potential menu overrides. Module interface is accessible on devel/routing_debug URL.

Features

  • Display registered routes, module the are coming from,
  • callback function handling each route/path,
  • file and line number of each callback function,
  • display raw information provided by menu_names(), system_menus() and menu_router() functions.
  • Module also provides block with the debug information for current path.

Tutorial

After module is installed, the usage is very simple. Module registers it's main path ('devel/routing_debug'), which directly shows available menu routing information in a table. Two additional tabs are available on the page: raw Devel formatted menu data and settings page. Settings page allows 'debug log' toggle to be enabled, which logs additional information to watchdog, in case of 'magic Reflection' failure.

Requirements and dependencies

Project information

Releases