You are here

function activity_token_info in Activity 7

Implements hook_token_info().

File

./activity.tokens.inc, line 12
Builds placeholder replacement tokens for activity data.

Code

function activity_token_info() {
  return array(
    'tokens' => array(
      'user' => array(
        'activity-profile-link' => array(
          'name' => t("Activity Profile Link"),
          'description' => t("Activity-themed profile link"),
        ),
      ),
      'node' => array(
        'activity-node-link' => array(
          'name' => t("Activity Node Link"),
          'description' => t("Link to the node using the node's title"),
        ),
      ),
    ),
  );
}