You are here

function computed_field_token_list in Computed Field 5

Same name and namespace in other branches
  1. 6 computed_field.module \computed_field_token_list()

Implementation of hook_token_list()

File

./computed_field.module, line 317

Code

function computed_field_token_list($type = 'all') {
  if ($type == 'field' || $type == 'all') {
    $tokens = array();
    $tokens['computed_field']['raw'] = t("Raw, unfiltered text.");
    $tokens['computed_field']['formatted'] = t("Formatted and filtered text.");
    return $tokens;
  }
}