You are here

function nodequeue_api_queue_form_submit in Nodequeue 7.3

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

Send the nodequeue edit form to the owning module upon submit.

Parameters

&$queue: The queue being edited. This may be modified prior to being saved.

$form_state: The form values that were submitted.

1 call to nodequeue_api_queue_form_submit()
nodequeue_edit_queue_form_submit in includes/nodequeue.admin.inc
Submit function for the nodequeue_queue form.

File

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

Code

function nodequeue_api_queue_form_submit(&$queue, &$form_state) {
  $function = $queue->owner . "_nodequeue_form_submit";
  if (function_exists($function)) {
    $function($queue, $form_state);
  }
}