1.20.x locale.module | locale_form_node_form_alter(&$form, &$form_state) |
Implements hook_form_BASE_FORM_ID_alter().
File
- modules/
locale/ locale.module, line 217 - Add language handling functionality and enables the translation of the user interface to languages other than English.
Code
function locale_form_node_form_alter(&$form, &$form_state) {
$form['#submit'][] = 'locale_field_node_form_submit';
}