function akamai_token_info in Akamai 8.3
Implements hook_token_info().
File
- ./
akamai.module, line 13 - Hook implementations for the Akamai Drupal 8 integration module.
Code
function akamai_token_info() {
return [
'types' => [
'akamai' => [
'name' => t('Akamai'),
'description' => t('Tokens providing access to Akamai-related information.'),
],
],
'tokens' => [
'akamai' => [
'edgescape' => [
'name' => t('Edgescape'),
'description' => t('The type of Edgescape location information, for instance <code>continent</code> or <code>country_code</code>.'),
'dynamic' => TRUE,
],
],
],
];
}