function locale_field_comment_form_submit

Form submit handler for comment_form().

This submit handler needs to run before entity_form_submit_build_entity() is invoked by comment_form_submit_build_comment(), because it alters the values of attached fields.

1 string reference to 'locale_field_comment_form_submit'

File

drupal/modules/locale/locale.module, line 419
Add language handling functionality and enables the translation of the user interface to languages other than English.

Code

function locale_field_comment_form_submit($form, &$form_state) {
  locale_field_entity_form_submit('comment', $form, $form_state);
}