You are here

function fix_failed_language_specific_form in Lingotek Translation 7.7

Form for fixing failed language-specific targets

1 string reference to 'fix_failed_language_specific_form'
lingotek_fix_failed_language_specific_targets in ./lingotek.util.inc
Fixes language-specific targets that have previously failed

File

./lingotek.util.inc, line 3417
Utility functions.

Code

function fix_failed_language_specific_form($form, &$form_state) {
  $form['entity_type'] = array(
    '#type' => 'hidden',
    '#value' => $form_state['values']['entity_type'],
  );
  $form['entity_ids'] = array(
    '#type' => 'hidden',
    '#value' => $form_state['values']['entity_ids'],
  );
  return $form;
}