function publishcontent_security_token_to_arg in Publish Content 7
Same name and namespace in other branches
- 6 publishcontent.module \publishcontent_security_token_to_arg()
Used to append a security token to prevent XSS.
File
- ./
publishcontent.module, line 80 - Add link to publish or unpublish a node, with access control based on the node type
Code
function publishcontent_security_token_to_arg($arg, $map, $index) {
return drupal_get_token();
}