Example: Page
Same name in other branches
- 3.x modules/page_example/page_example.module \page_example
- 8.x-1.x page_example/page_example.module \page_example
- 6.x-1.x page_example/page_example.module \page_example
- 4.0.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
Functions
Title Sort descending | File name | Summary |
---|---|---|
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
Title Sort descending | File name | Summary |
---|---|---|
PageExampleTestCase | page_example/ |
Functional tests for the Page Example module. |