function trigger_test_system_cron_conf_action_form

Form for configurable test action.

File

modules/trigger/tests/trigger_test.module, line 98

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.