You are here

function open_readspeaker_token_info in Open ReadSpeaker 8

Implements hook_token_info().

File

./open_readspeaker.module, line 68
Contains open_readspeaker.module.

Code

function open_readspeaker_token_info() {
  $info = [];
  $info['types'] = [
    'open-readspeaker' => [
      'name' => t('Open ReakSpeaker'),
      'description' => t('Tokens related to the Open ReadSpeaker module.'),
    ],
  ];
  $info['tokens'] = [
    'open-readspeaker' => [
      'account-id' => [
        'name' => t('Account ID'),
        'description' => t('The account ID of your ReadSpeaker account.'),
      ],
    ],
  ];
  return $info;
}