Example: Block in Examples for Developers 6
Same name and namespace in other branches
- 8 block_example/block_example.module \block_example
- 7 block_example/block_example.module \block_example
- 3.x modules/block_example/block_example.module \block_example
Block defined by a module. (drupal 6)
This example is part of the Examples for Developers Project which you can download and experiment with here: http://drupal.org/project/examples
Parent topics
File
- block_example/
block_example.module, line 9 - This is an example outlining how a module can define blocks to be displayed on each page.
Functions
Name | Location | Description |
---|---|---|
block_example_block |
block_example/ |
Implementation of hook_block(). |
block_example_contents |
block_example/ |
A block content function. |