You are here

function opigno_learning_path_token_info in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x opigno_learning_path.tokens.inc \opigno_learning_path_token_info()

Implements hook_token_info().

File

./opigno_learning_path.tokens.inc, line 14
Builds placeholder replacement tokens for opigno_certificate-related data.

Code

function opigno_learning_path_token_info() {
  $info['tokens']['group']['expiration_date'] = [
    'name' => t('Certificate expiration date'),
    'description' => t('The training group certificate expiration date.'),
  ];
  return $info;
}