function locale_field_node_form_submit
locale_field_node_form_submit($form, &$form_state)
Form submit handler for node_form().
This submit handler needs to run before entity_form_submit_build_entity() is invoked by node_form_submit_build_node(), because it alters the values of attached fields. Therefore, it cannot be a hook_node_submit() implementation.
File
- modules/locale/locale.module, line 393
- Add language handling functionality and enables the translation of the user interface to languages other than English.
Code
function locale_field_node_form_submit($form, &$form_state) { locale_field_entity_form_submit('node', $form, $form_state); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!locale!locale.module/function/locale_field_node_form_submit/7.x