function MenuRouterTestCase::menuLoadRouter

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

Class

MenuRouterTestCase

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.