You are here

function trigger_test_system_cron_conf_action_submit in Drupal 7

Form submission handler for configurable test action.

File

modules/trigger/tests/trigger_test.module, line 112
Mock module to aid in testing trigger.module.

Code

function trigger_test_system_cron_conf_action_submit($form, $form_state) {
  $form_values = $form_state['values'];

  // Process the HTML form to store configuration. The keyed array that
  // we return will be serialized to the database.
  $params = array(
    'subject' => $form_values['subject'],
  );
  return $params;
}