function user_example_menu in Examples for Developers 6
Implementation of hook_menu().
This is not required for the User API. However, we implement this so we can add a page describing how this module works. To learn about how the menu system works, see page_example.module.
Related topics
File
- user_example/
user_example.module, line 30 - An example of the User API.
Code
function user_example_menu() {
$items = array();
$items['examples/user_example'] = array(
'title' => 'User Example',
'page callback' => 'user_example_page',
'access arguments' => array(
'access content',
),
);
return $items;
}