function nodequeue_admin_back in Nodequeue 5.2
Page callback to move an item to the back of a queue. This will be used only if javascript is disabled in the client, and is a fallback technique.
1 string reference to 'nodequeue_admin_back'
- nodequeue_menu in ./
nodequeue.module - Implementation of hook_menu
File
- ./
nodequeue.module, line 1192
Code
function nodequeue_admin_back($queue, $subqueue, $pos) {
if (!nodequeue_check_token($node->nid)) {
return drupal_goto();
}
// This function is safe if $pos is out of bounds.
if ($queue->reverse) {
nodequeue_queue_front($subqueue, $pos);
}
else {
nodequeue_queue_back($subqueue, $pos);
}
drupal_goto();
}