You are here

function nodequeue_get_token in Nodequeue 7.2

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

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

1 call to nodequeue_get_token()
nodequeue_get_query_string in ./nodequeue.module
Generate a query string to use on nodequeue's private links.

File

./nodequeue.module, line 2344
Maintains queues of nodes in arbitrary order.

Code

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