function theming_example_select_form_submit

Submit handler for the select form.

Parameters

array $form: Form API form array.

array $form_state: Form API form state array.

Related topics

File

theming_example/theming_example.module, line 240

Code

function theming_example_select_form_submit($form, &$form_state) {
    drupal_set_message(t('You chose %input', array(
        '%input' => $form_state['values']['choice'],
    )));
}