You are here

Example: Page in Examples for Developers 7

Same name and namespace in other branches
  1. 8 page_example/page_example.module \page_example
  2. 6 page_example/page_example.module \page_example
  3. 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

Example: Menu

Parent topics

File

page_example/page_example.module, line 8
Module file for page_example_module.

Functions

Namesort descending Location Description
page_example_arguments page_example/page_example.module A more complex page callback that takes arguments.
page_example_description page_example/page_example.module Constructs a descriptive page.
page_example_help page_example/page_example.module Implements hook_help().
page_example_menu page_example/page_example.module Implements hook_menu().
page_example_permission page_example/page_example.module Implements hook_permission().
page_example_simple page_example/page_example.module Constructs a simple page.

Classes

Namesort descending Location Description
PageExampleTestCase page_example/page_example.test Functional tests for the Page Example module.