Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
f13d5024
Commit
f13d5024
authored
May 29, 2009
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#475348
by boombatower: Move admin/development to system.module so it's available to other modules.
parent
114a7f2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
modules/simpletest/simpletest.module
modules/simpletest/simpletest.module
+0
-9
modules/system/system.module
modules/system/system.module
+11
-0
No files found.
modules/simpletest/simpletest.module
View file @
f13d5024
...
...
@@ -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'
,
...
...
modules/system/system.module
View file @
f13d5024
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment