You are here

function nodequeue_get_token in Nodequeue 5.2

Same name and namespace in other branches
  1. 6.2 nodequeue.module \nodequeue_get_token()
  2. 7.3 nodequeue.module \nodequeue_get_token()
  3. 7.2 nodequeue.module \nodequeue_get_token()

Get a private token used to protect nodequeue's links from spoofing.

2 calls to nodequeue_get_token()
nodequeue_get_query_string in ./nodequeue.module
Generate a query string to use on nodequeue's private links.
nodequeue_node_tab in ./nodequeue.module
Display the queue controls for a node.

File

./nodequeue.module, line 2519

Code

function nodequeue_get_token($nid) {
  return 'token=' . drupal_get_token($nid);
}