I've a custom module named workingmodule. I get a 404 when visiting domain.com/workingmodule.
My module is enabled, and I cleared the cache. This id the code I am using in workingmodule.module.
/**
* Implements hook_menu().
*/
function workingmodule_menu() {
$items = array();
$items['workingmodule'] = array(
'page callback' => 'workingmodule_blank_page_callback',
'page arguments' => array(),
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
return $items;
}
/**
* Display the tagboard/custom content for page.
*/
function workingmodule_blank_page_callback() {
print_r("test");
}
Why does domain.com/workingmodule return a 404 error?