You are here

function publishcontent_security_token_to_arg in Publish Content 6

Same name and namespace in other branches
  1. 7 publishcontent.module \publishcontent_security_token_to_arg()

Used to append a security token to prevent XSS.

http://drupal.org/node/109153

See also

Dynamic argument replacement (wildcard) for hook_menu at

File

./publishcontent.module, line 65
Add button 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();
}