You are here

Example: Block in Examples for Developers 6

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

Namesort descending Location Description
block_example_block block_example/block_example.module Implementation of hook_block().
block_example_contents block_example/block_example.module A block content function.