Commit f13d5024 authored by webchick's avatar webchick

#475348 by boombatower: Move admin/development to system.module so it's available to other modules.

parent 114a7f2c
......@@ -25,15 +25,6 @@ function simpletest_help($path, $arg) {
* Implement hook_menu().
*/
function simpletest_menu() {
$items['admin/development'] = array(
'title' => 'Development',
'description' => 'Development tools.',
'position' => 'right',
'weight' => -7,
'page callback' => 'system_admin_menu_block_page',
'access callback' => 'system_admin_menu_block_access',
'access arguments' => array('admin/development', 'access administration pages'),
);
$items['admin/development/testing'] = array(
'title' => 'Testing',
'page callback' => 'drupal_get_form',
......
......@@ -582,6 +582,17 @@ function system_menu() {
'type' => MENU_CALLBACK,
);
// Development menu category.
$items['admin/development'] = array(
'title' => 'Development',
'description' => 'Development tools.',
'position' => 'right',
'weight' => -7,
'page callback' => 'system_admin_menu_block_page',
'access callback' => 'system_admin_menu_block_access',
'access arguments' => array('admin/development', 'access administration pages'),
);
// Actions.
$items['admin/settings/actions'] = array(
'title' => 'Actions',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment