home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (examples.module)

This example Drupal source code file (examples.module) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

arg, args, examples_help, function, path, php

The examples.module Drupal example source code

<?php

/**
 * @file
 * This file serves as a stub file for the many Examples modules in the
 * @link http://drupal.org/project/examples Examples for Developers Project @endlink
 * which you can download and experiment with.
 *
 * One might say that examples.module is an example of documentation. However, note
 * that the example submodules define many doxygen groups, which may or may not be
 * a good strategy for other modules.
 */

/**
 * @defgroup examples 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
 */

/**
 * Implementation of hook_help().
 */
function examples_help($path, $arg) {
  // re: http://drupal.org/node/767204 
  // 5. We need a master group (Examples) that will be in a main examples.module.
  // The examples.module should be mostly doxy comments that point to the other examples.
  // It will also have a hook_help() explaining its purpose and how to access the other examples.
}

/**
 * @} End of 'defgroup examples'.
 */

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal examples.module source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.