public static function UserSyncBatch::finished in CRM Core 8
Same name and namespace in other branches
- 8.3 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_syncCode
public static function finished($success, $results, $operations) {
\Drupal::messenger()
->addMessage(t('@count users have been associated with contacts.', [
'@count' => $results['synced'],
]));
}