function translation_entity_translatable_batch_done

Batch finished callback: Checks the exit status of the batch operation.

2 string references to 'translation_entity_translatable_batch_done'
translation_entity_translatable_form_submit in drupal/core/modules/translation_entity/translation_entity.admin.inc
Form submission handler for translation_entity_translatable_form().
_translation_entity_update_field_translatability in drupal/core/modules/translation_entity/translation_entity.admin.inc
Stores entity translation settings.

File

drupal/core/modules/translation_entity/translation_entity.admin.inc, line 612
The entity translation administration forms.

Code

function translation_entity_translatable_batch_done($success, $results, $operations) {
  if ($success) {
    drupal_set_message(t("Successfully changed field translation setting."));
  }
  else {

    // @todo: Do something about this case.
    drupal_set_message(t("Something went wrong while processing data. Some nodes may appear to have lost fields."), 'error');
  }
}