You are here

function google_authorship_token_info in Google Authorship 7

Same name and namespace in other branches
  1. 7.2 google_authorship.tokens.inc \google_authorship_token_info()

Implements hook_token_info().

File

./google_authorship.tokens.inc, line 10
Custom tokens for Google Authorship.

Code

function google_authorship_token_info() {
  $info = array();
  $info['tokens']['node']['google_authorship_id'] = array(
    'name' => t('Google Authorship ID'),
    'description' => t("The Google+ ID of the node's author."),
  );
  $info['tokens']['node']['google_authorship_url'] = array(
    'name' => t('Google Authorship URL'),
    'description' => t("The full URL to the node author's Google+ profile page."),
  );
  return $info;
}