You are here

function fe_paths_token_info in File Entity Paths 7.2

Implements hook_token_info().

File

./fe_paths.tokens.inc, line 11
Tokens for File Entity Paths module.

Code

function fe_paths_token_info() {
  $info['tokens']['file']['name-only'] = array(
    'name' => t("File name"),
    'description' => t("File name without extension."),
  );
  $info['tokens']['file']['name-only-original'] = array(
    'name' => t("File name - original"),
    'description' => t("File name without extension - original."),
  );
  $info['tokens']['file']['extension-original'] = array(
    'name' => t("File extension - original"),
    'description' => t("File extension - original."),
  );
  return $info;
}