function flag_get_token in Flag 5
Same name and namespace in other branches
- 6.2 flag.module \flag_get_token()
- 6 flag.module \flag_get_token()
- 7.3 flag.module \flag_get_token()
- 7.2 flag.module \flag_get_token()
Get a private token used to protect links from spoofing - CSRF.
1 call to flag_get_token()
- flag_flag_link in ./
flag.module - Implementation of hook_flag_link().
File
- ./
flag.module, line 1145 - The Flag module.
Code
function flag_get_token($nid) {
return drupal_get_token($nid);
}