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

Drupal example source code file (README.txt)

This example Drupal source code file (README.txt) 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

and, directory, every, file, for, is, it, module, on, the, to, tokens, want, your

The README.txt Drupal example source code

$Id: README.txt,v 2009/04/19 21:31:24 greggles Exp $

Token module provides a centralized API for text substitution. Unless
you're installing another Drupal module that requires it, this software
is probably unnecessary.

For more information on tokens see http://groups.drupal.org/tokens

If you're a Drupal developer, check out API.txt for detailed instructions
on using the Token API. It allows every module to announce the placeholder
tokens they can handle, uses simple caching to prevent duplicated work in
a given page-view, and is pretty lightweight. It's nice. You'll like it.

Want to add your own custom tokens to a site? Not sure how to write a 
module? Worry no more, it's now quite easy.

1. Copy and rename the tokenSTARTER.info and tokenSTARTER.module replacing
   every instance of STARTER with a descriptive, appropriate word.

2. Edit the .module file and change hook_token_list and hook_token_values
   to provide whatever additional tokens or logic your site needs.

3. Enable the module and enjoy!

You should also want to read the API.txt.

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal README.txt 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.