You are here

function opigno_learning_path_token_info in Opigno Learning path 3.x

Same name and namespace in other branches
  1. 8 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;
}