function entity_autocomplete_test_form_submit in Entity Autocomplete 7
Form submission handler; test form for Entity Autocomplete FAPI element().
See also
entity_autocomplete_test_form()
File
- tests/
entity_autocomplete_test.module, line 61 - Dummy module implementing a form to test Entity Autocomplete form element.
Code
function entity_autocomplete_test_form_submit($form, &$form_state) {
drupal_set_message(t('The form was successfully submitted. Field value is: @value.', array(
'@value' => $form_state['values']['entity_autocomplete'],
)));
}