function user_example_page in Examples for Developers 6
Page callback to display information about this module. In "real" modules, user hook_help() or the Advanced Help module instead of hardcoded page callbacks.
Related topics
1 string reference to 'user_example_page'
- user_example_menu in user_example/
user_example.module - Implementation of hook_menu().
File
- user_example/
user_example.module, line 168 - An example of the User API.
Code
function user_example_page() {
$output = '<p>' . t('The user_example provides examples of the Drupal User API for saving a user\'s favorite color to the database. To try out the example, click on the "My account" link and then click on the "Edit" tab.') . '</p>';
return $output;
}