function simpletest_menu in SimpleTest 6
Same name and namespace in other branches
- 5 simpletest.module \simpletest_menu()
- 6.2 simpletest.module \simpletest_menu()
- 7.2 simpletest.module \simpletest_menu()
- 7 simpletest.module \simpletest_menu()
Implementation of hook_menu().
File
- ./
simpletest.module, line 31
Code
function simpletest_menu() {
$items['admin/build/simpletest'] = array(
'title' => 'Simpletest',
'page callback' => 'simpletest_entrypoint',
'description' => 'Run tests against Drupal core and your active modules. These tests help assure that your site code is working as designed.',
'access arguments' => array(
'administer unit tests',
),
);
$items['admin/settings/simpletest'] = array(
'title' => 'Simpletest settings',
'description' => 'Configure unit testing framework.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'simpletest_settings',
),
'access arguments' => array(
'access administration pages',
),
);
return $items;
}