You are here

function maestro_accept_only_form_submit in Maestro 8.2

Same name and namespace in other branches
  1. 3.x modules/maestro_utilities/maestro_utilities.module \maestro_accept_only_form_submit()

This is the return from the simple accept Interactive function built in to Maestro.

File

modules/maestro_utilities/maestro_utilities.module, line 68
You need this if you want to simply use MaestroEngine in code calls as we do.

Code

function maestro_accept_only_form_submit(array &$form, FormStateInterface &$form_state, $queueID = 0) {

  // We don't need to do anything here, but here's an example of fetching off the form state's queue ID.
  $ourQueueID = $form_state
    ->getValue('queueID');
}