diff options
-rw-r--r-- | modules/system/system.api.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index dad82140b..5a46cb4a3 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -3819,17 +3819,17 @@ function hook_batch_alter(&$batch) { */ function hook_token_info_alter(&$data) { // Modify description of node tokens for our site. - $node['nid'] = array( + $data['tokens']['node']['nid'] = array( 'name' => t("Node ID"), 'description' => t("The unique ID of the article."), ); - $node['title'] = array( + $data['tokens']['node']['title'] = array( 'name' => t("Title"), 'description' => t("The title of the article."), ); // Chained tokens for nodes. - $node['created'] = array( + $data['tokens']['node']['created'] = array( 'name' => t("Date created"), 'description' => t("The date the article was posted."), 'type' => 'date', |