You are here

function rules_link_check_token in Rules Link 7

Same name and namespace in other branches
  1. 7.2 rules_link.module \rules_link_check_token()

Checks if the given token is correct.

1 call to rules_link_check_token()
rules_link_access_link in ./rules_link.module
Access callback function for the token and javascript links.

File

./rules_link.module, line 291
Rules Link - module file.

Code

function rules_link_check_token($token, $content_id) {
  return rules_link_get_token($content_id) === $token;
}