protected function MenuRouterTestCase::menuLoadRouter

Load the router for a given path.

2 calls to MenuRouterTestCase::menuLoadRouter()
MenuRouterTestCase::testMenuLoadArgumentsInheritance in drupal-7.x/modules/simpletest/tests/menu.test
Tests inheritance of 'load arguments'.
MenuRouterTestCase::testMenuLoadArgumentsInheritance in drupal-7.x/modules/simpletest/tests/menu.test
Tests inheritance of 'load arguments'.

Archivo

drupal-7.x/modules/simpletest/tests/menu.test, line 615
Provides SimpleTests for menu.inc.

Class

MenuRouterTestCase

Código

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