You are here

public static function UserSyncBatch::finished in CRM Core 8.3

Same name and namespace in other branches
  1. 8 modules/crm_core_user_sync/src/UserSyncBatch.php \Drupal\crm_core_user_sync\UserSyncBatch::finished()

Batch finished callback.

File

modules/crm_core_user_sync/src/UserSyncBatch.php, line 56

Class

UserSyncBatch
Methods for running the ConfigImporter in a batch.

Namespace

Drupal\crm_core_user_sync

Code

public static function finished($success, $results, $operations) {
  \Drupal::messenger()
    ->addMessage(t('@count users have been associated with contacts.', [
    '@count' => $results['synced'],
  ]));
}