1.20.x path.tokens.inc path_token_info()

Implements hook_token_info().

File

modules/path/path.tokens.inc, line 10
Token integration for the Path module.

Code

function path_token_info() {
  $info = array();

  $info['tokens']['array']['join-path'] = array(
    'name' => t('Joined path'),
    'description' => t('The array values each cleaned according to the current Path module settings and then joined with the slash into a string that resembles an URL.'),
  );

  return $info;
}