1 theming_example.module theming_example_text_form_submit($form, &$form_state)

Submit handler for the text form.

Parameters

array $form: Form API form array.

array $form_state: Form API form state array.

Related topics

File

modules/examples/theming_example/theming_example.module, line 273
Explains how a module declares theme functions, preprocess functions, and templates.

Code

function theming_example_text_form_submit($form, &$form_state) {
  backdrop_set_message(t('You entered %input', array('%input' => $form_state['values']['text'])));
}