You are here

function commons_events_token_info_alter in Drupal Commons 7.3

Implements hook_token_info_alter().

File

modules/commons/commons_events/commons_events.module, line 433

Code

function commons_events_token_info_alter(&$tokens) {
  $tokens['tokens']['node']['attend-form'] = array(
    'name' => t('Attending event form'),
    'description' => t('Displays the appropriate form for attending or cancelling event attendance'),
  );
}