Now all modules are in core modules folder
This commit is contained in:
parent
5ba1cdfa0b
commit
05b6a91b0c
1907 changed files with 0 additions and 0 deletions
30
modules/token/README.txt
Normal file
30
modules/token/README.txt
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
Description
|
||||
===========
|
||||
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
|
||||
|
||||
Benefits
|
||||
========
|
||||
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.
|
||||
|
||||
tokenSTARTER
|
||||
============
|
||||
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.
|
Reference in a new issue