function flag_check_token in Flag 5
Same name and namespace in other branches
- 6.2 flag.module \flag_check_token()
- 6 flag.module \flag_check_token()
- 7.3 flag.module \flag_check_token()
- 7.2 flag.module \flag_check_token()
Check to see if a token value matches the specified node.
1 call to flag_check_token()
- flag_page in ./
flag.module - Menu callback for (un)flagging a node.
File
- ./
flag.module, line 1152 - The Flag module.
Code
function flag_check_token($token, $seed) {
return drupal_get_token($seed) == $token;
}