Skip to content

Instantly share code, notes, and snippets.



Created Jan 28, 2009
What would you like to do?
* Implementation of hook_menu().
function whatever_menu() {
$items = array();
$items['whatever/somepage'] = array(
'title' => 'Whatever',
'page callback' => 'drupal_get_form',
'page arguments' => array('whatever_somepage'),
return $items;
function whatever_sompage() {
return 'Hello World';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.