function locale_field_node_form_submit
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.
1 string reference to 'locale_field_node_form_submit'
- locale_form_node_form_alter in modules/
locale/ locale.module - Implements hook_form_BASE_FORM_ID_alter().
File
-
modules/
locale/ locale.module, line 393
Code
function locale_field_node_form_submit($form, &$form_state) {
locale_field_entity_form_submit('node', $form, $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.