function pathauto_token_info in Pathauto 8
Same name and namespace in other branches
- 7 pathauto.tokens.inc \pathauto_token_info()
Implements hook_token_info().
File
- ./
pathauto.tokens.inc, line 13 - Token integration for the Pathauto module.
Code
function pathauto_token_info() {
$info = [];
$info['tokens']['array']['join-path'] = [
'name' => t('Joined path'),
'description' => t('The array values each cleaned by Pathauto and then joined with the slash into a string that resembles an URL.'),
];
return $info;
}