You are here

function commerce_webform_token_info in Commerce Webform 8

Same name and namespace in other branches
  1. 7.2 commerce_webform.tokens.inc \commerce_webform_token_info()
  2. 7 commerce_webform.tokens.inc \commerce_webform_token_info()

Implements hook_token_info().

File

./commerce_webform.tokens.inc, line 11
Token replacements for the commerce_webform module.

Code

function commerce_webform_token_info() {
  return array(
    'tokens' => array(
      'commerce-order' => array(
        'commerce-webform-submission' => array(
          'name' => t('Commerce webform submission'),
          'description' => t('A detailed listing of the webform submissions which generated this order.'),
        ),
      ),
    ),
  );
}