Well-documented API examples for a broad range of Drupal 6 core functionality.
Developers can learn how to use a particular API quickly by experimenting with the examples, and adapt them for their own use.
Download the Examples for Developers Project (and participate with submissions, bug reports, patches, and documentation) here: http://drupal.org/project/examples
| Name | Description |
|---|---|
| Example: AHAH | AHAH examples. (drupal 6) |
| Example: Batch API | Examples using batch API. (drupal 6) |
| Example: Block | Block defined by a module. (drupal 6) |
| Example: Email | Example of mail API. (drupal 6) |
| Example: Filter | Defining a filter in a module. (drupal 6) |
| Example: Form API | Examples demonstrating the Form API. (drupal 6) |
| Example: Menu API | Examples using Menu API. (drupal 6) |
| Example: NodeAPI | Modifying a node during its life-cycle. (drupal 6) |
| Example: Node Access | Examples of node access restriction. (drupal 6) |
| Example: Node | Creating a new content type in a module. (drupal 6) |
| Example: Page | Create a page in a module. (drupal 6) |
| Example: Simpletest | Creating tests. (drupal 6) |
| Example: Token API | Examples using the Token API. (drupal 6) |
| Example: Trigger | Examples of module-defined triggers. (drupal 6) |
| Example: Vertical Tabs | Using vertical_tabs module. (drupal 6) |
| Example: XML-RPC | XML-RPC client/server. (drupal 6) |
| Name | Description |
|---|---|
| examples_help | Implementation of hook_help(). |
examples/