You are here

function token_example_example_form_submit in Examples for Developers 7

Same name and namespace in other branches
  1. 6 token_example/token_example.module \token_example_example_form_submit()

Submit callback; store the submitted values into storage.

Related topics

File

token_example/token_example.module, line 138
An example module showing how to define and use tokens.

Code

function token_example_example_form_submit($form, &$form_state) {
  $form_state['storage'] = $form_state['values'];
  $form_state['rebuild'] = TRUE;
}