You are here

function entity_translation_translatable_batch_done in Entity Translation 7

Check the exit status of the batch operation.

1 string reference to 'entity_translation_translatable_batch_done'
entity_translation_translatable_form_submit in ./entity_translation.admin.inc
Submit handler for the field settings form.

File

./entity_translation.admin.inc, line 762
The entity translation user interface.

Code

function entity_translation_translatable_batch_done($success, $results, $operations) {
  if ($success) {
    drupal_set_message(t("Data successfully processed."));
  }
  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."));
  }
}