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
Class
Code
protected function menuLoadRouter($router_path) {
return db_query('SELECT * FROM {menu_router} WHERE path = :path', array(
':path' => $router_path,
))
->fetchAssoc();
}