You are here

function flag_lists_token_values in Flag Lists 6

Implementation of hook_token_values().

File

./flag_lists.module, line 1138
The Flag Lists module.

Code

function flag_lists_token_values($type, $object = NULL) {
  $values = array();
  if ($type == 'flag_lists') {
    $values['flag-lists-term'] = check_plain(variable_get('flag_lists_name', t('list')));
    $values['flag-lists-title'] = check_plain($object->title);
  }
  return $values;
}