function trigger_test_system_cron_conf_action_form

7.x trigger_test.module trigger_test_system_cron_conf_action_form($context)

Form for configurable test action.

File

drupal-7.x/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;
}