locale_translation_batch_fetch_finished

locale_translation_batch_fetch_finished($success, $results)

Implements callback_batch_finished().

Set result message.

Parameters

bool $success: TRUE if batch successfully completed.

array $results: Batch results.

File

core/modules/locale/locale.batch.inc, line 216
Batch process to check the availability of remote or local po files.

Code

function locale_translation_batch_fetch_finished($success, $results) {
  module_load_include('bulk.inc', 'locale');
  if ($success) {
    \Drupal::state()->set('locale.translation_last_checked', REQUEST_TIME);
  }
  return locale_translate_batch_finished($success, $results);
}
doc_Drupal
2016-10-29 09:24:22
Comments
Leave a Comment

Please login to continue.