Example: Page in Examples for Developers 7
Same name and namespace in other branches
- 8 page_example/page_example.module \page_example
- 6 page_example/page_example.module \page_example
- 3.x modules/page_example/page_example.module \page_example
This example demonstrates how a module can display a page at a given URL.
It's important to understand how the menu system works in order to implement your own pages. See the Menu Example module for some insight.
See also
Parent topics
File
- page_example/
page_example.module, line 8 - Module file for page_example_module.
Functions
Name | Location | Description |
---|---|---|
page_example_arguments |
page_example/ |
A more complex page callback that takes arguments. |
page_example_description |
page_example/ |
Constructs a descriptive page. |
page_example_help |
page_example/ |
Implements hook_help(). |
page_example_menu |
page_example/ |
Implements hook_menu(). |
page_example_permission |
page_example/ |
Implements hook_permission(). |
page_example_simple |
page_example/ |
Constructs a simple page. |
Classes
Name | Location | Description |
---|---|---|
PageExampleTestCase |
page_example/ |
Functional tests for the Page Example module. |