function trigger_example_form

Trigger example test form.

Provides a button to run the triggersomething event.

Related topics

1 string reference to 'trigger_example_form'
trigger_example_menu in trigger_example/trigger_example.module
Implements hook_menu().

File

trigger_example/trigger_example.module, line 277

Code

function trigger_example_form($form_state) {
    $form['triggersomething'] = array(
        '#type' => 'submit',
        '#value' => t('Run triggersomething event'),
    );
    return $form;
}