Created
February 1, 2012 20:43
-
-
Save dergachev/1719193 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function my_module_menu() { | |
$items = array(); | |
$items['admin/config/content/my-module'] = array( | |
'title' => 'My Module Settings', | |
'description' => 'Administer My Module.', | |
'page callback' => 'my_module_settings_callback', | |
'access callback' => 'user_access', //this is filled in by default | |
'access arguments' => array('access administration pages'), //arguments to user_access | |
); | |
return $items; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment