You are here

function trigger_test_system_cron_conf_action_form in Drupal 7

Form for configurable test action.

File

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

Code

function trigger_test_system_cron_conf_action_form($context) {
  if (!isset($context['subject'])) {
    $context['subject'] = '';
  }
  $form['subject'] = array(
    '#type' => 'textfield',
    '#default_value' => $context['subject'],
  );
  return $form;
}