You are here

function pathauto_token_info in Pathauto 7

Same name and namespace in other branches
  1. 8 pathauto.tokens.inc \pathauto_token_info()

Implements hook_token_info().

File

./pathauto.tokens.inc, line 11
Token integration for the Pathauto module.

Code

function pathauto_token_info() {
  $info = array();
  $info['tokens']['array']['join-path'] = array(
    '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;
}