You are here

function page_example_other_permissions in Examples for Developers 6

Page callback to demonstrate checking for the 'access content' permission.

Related topics

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

File

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

Code

function page_example_other_permissions() {
  return '<p>' . t('Evidently, you are authorized to view content on the site.') . '</p>';
}