You are here

function rules_link_token_info in Rules Link 7

Same name and namespace in other branches
  1. 7.2 rules_link.module \rules_link_token_info()

Implements hook_token_info().

File

./rules_link.module, line 577
Rules Link - module file.

Code

function rules_link_token_info() {
  $type = array(
    'name' => t('Rules link access token'),
    'description' => t('Tokens related to rules link access token.'),
  );
  $rules_link = array();
  return array(
    'types' => array(
      'rules_link_token' => $type,
    ),
    'tokens' => array(
      'rules_link_token' => $rules_link,
    ),
  );
}