| 7 menu.test | protected MenuRouterTestCase::menuLoadRouter($router_path) |
| 8 menu.test | protected MenuRouterTestCase::menuLoadRouter($router_path) |
Load the router for a given path.
File
- modules/
simpletest/ tests/ menu.test, line 615 - Provides SimpleTests for menu.inc.
Code
protected function menuLoadRouter($router_path) {
return db_query('SELECT * FROM {menu_router} WHERE path = :path', array(':path' => $router_path))->fetchAssoc();
}
Login or register to post comments