You are here

protected function MenuRouterTestCase::menuLoadRouter in Drupal 7

Load the router for a given path.

1 call to MenuRouterTestCase::menuLoadRouter()
MenuRouterTestCase::testMenuLoadArgumentsInheritance in modules/simpletest/tests/menu.test
Tests inheritance of 'load arguments'.

File

modules/simpletest/tests/menu.test, line 615
Provides SimpleTests for menu.inc.

Class

MenuRouterTestCase

Code

protected function menuLoadRouter($router_path) {
  return db_query('SELECT * FROM {menu_router} WHERE path = :path', array(
    ':path' => $router_path,
  ))
    ->fetchAssoc();
}