function trigger_example_form_submit

Submit handler for the trigger_example_form().

Related topics

File

trigger_example/trigger_example.module, line 288

Code

function trigger_example_form_submit($form, $form_state) {
    // If the user clicked the button, then run the triggersomething trigger.
    if ($form_state['values']['op'] == t('Run triggersomething event')) {
        trigger_example_triggersomething();
    }
}