Examples

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

Groups

NameDescription
Example: AHAHAHAH examples. (drupal 6)
Example: Batch APIExamples using batch API. (drupal 6)
Example: BlockBlock defined by a module. (drupal 6)
Example: EmailExample of mail API. (drupal 6)
Example: FilterDefining a filter in a module. (drupal 6)
Example: Form APIExamples demonstrating the Form API. (drupal 6)
Example: Menu APIExamples using Menu API. (drupal 6)
Example: NodeAPIModifying a node during its life-cycle. (drupal 6)
Example: Node AccessExamples of node access restriction. (drupal 6)
Example: NodeCreating a new content type in a module. (drupal 6)
Example: PageCreate a page in a module. (drupal 6)
Example: SimpletestCreating tests. (drupal 6)
Example: Token APIExamples using the Token API. (drupal 6)
Example: TriggerExamples of module-defined triggers. (drupal 6)
Example: Vertical TabsUsing vertical_tabs module. (drupal 6)
Example: XML-RPCXML-RPC client/server. (drupal 6)

Functions & methods

NameDescription
examples_helpImplementation of hook_help().

examples/examples.module, line 15