You are here

function webform_charts_token_info in Webform Charts 7

Implements hook_token_info().

File

./webform_charts.tokens.inc, line 10
Builds chart tokens for Webform nodes.

Code

function webform_charts_token_info() {

  // Webform submission tokens.
  $info['tokens']['node']['webform-charts'] = array(
    'name' => t('Webform charts'),
    'description' => t('Tokens for printing charts for individual components. Replace the "?" with the "field key", including any parent field keys separated by colons.'),
    'dynamic' => TRUE,
  );
  return $info;
}