Same name and namespace in other branches
- 7.x-1.x examples.module \examples
- 8.x-1.x examples.module \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
File
- ./
examples.module, line 14 - This file serves as a stub file for the many Examples modules in the Examples for Developers Project which you can download and experiment with.
Functions
Name | Location | Description |
---|---|---|
examples_help |
./ |
Implementation of hook_help(). |
Sub-Topics
Name | Location | Description |
---|---|---|
Example: Batch API |
batch_example/ |
Examples using batch API. (drupal 6) |
Example: Block |
block_example/ |
Block defined by a module. (drupal 6) |
Example: Email |
email_example/ |
Example of mail API. (drupal 6) |
Example: Filter |
filter_example/ |
Defining a filter in a module. (drupal 6) |
Example: Menu API |
menu_example/ |
Examples using Menu API. (drupal 6) |
Example: Node |
node_example/ |
Creating a new content type in a module. (drupal 6) |
Example: Node Access |
node_access_example/ |
Examples of node access restriction. (drupal 6) |
Example: NodeAPI |
nodeapi_example/ |
Modifying a node during its life-cycle. (drupal 6) |
Example: Page |
page_example/ |
Create a page in a module. (Drupal 6) |
Example: Simpletest |
simpletest_example/ |
Creating tests. (drupal 6) |
Example: Token API |
token_example/ |
Examples using the Token API. (drupal 6) |
Example: Trigger |
trigger_example/ |
Examples of module-defined triggers. (drupal 6) |
Example: User API |
user_example/ |
Examples using user API. (drupal 6) |
Example: Vertical Tabs |
vertical_tabs_example/ |
Using vertical_tabs module. (drupal 6) |
Example: XML-RPC |
xmlrpc_example/ |
XML-RPC client/server. (drupal 6) |