You are here

function nodequeue_api_queue_form_submit in Nodequeue 5.2

Same name and namespace in other branches
  1. 6.2 nodequeue.module \nodequeue_api_queue_form_submit()
  2. 7.3 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_values: The form values that were submitted.

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

File

./nodequeue.module, line 2301

Code

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