You are here

function page_example_custom_access_page in Examples for Developers 6

Page callback to demonstrate a custom access callback.

Related topics

1 string reference to 'page_example_custom_access_page'
page_example_menu in page_example/page_example.module
Implementation of hook_menu().

File

page_example/page_example.module, line 261
This is an example outlining how a module can be used to display a custom page at a given URL.

Code

function page_example_custom_access_page() {
  return '<p>' . t('Welcome to the custom access page, registered visitor.') . '</p>';
}