Updates the form language to reflect any change to the entity language.
array $form_state: A keyed array containing the current state of the form.
protected function updateFormLangcode(array $form_state) {
// Update the form language as it might have changed.
if (isset($form_state['values']['langcode']) && $this
->isDefaultFormLangcode($form_state)) {
$form_state['langcode'] = $form_state['values']['langcode'];
}
}