You are here

function _hybridauth_ulogin_finished_callback in HybridAuth Social Login 7.2

1 string reference to '_hybridauth_ulogin_finished_callback'
hybridauth_ulogin_migrate_form_submit in hybridauth_ulogin/hybridauth_ulogin.admin.inc

File

hybridauth_ulogin/hybridauth_ulogin.admin.inc, line 57
Admin pages for the HybridAuth uLogin module.

Code

function _hybridauth_ulogin_finished_callback($success, $results, $operations) {
  if ($success) {
    drupal_set_message(format_plural(count($results), 'Processed 1 uLogin identity.', 'Processed @count uLogin identities.'));
  }
  else {
    drupal_set_message(t('An error has occurred.'), 'error');
  }
}