You are here

function uif_uif_validate_user in User Import Framework 6

Same name and namespace in other branches
  1. 7 uif.admin.inc \uif_uif_validate_user()

Implementation of hook_uif_validate_user().

File

./uif.admin.inc, line 298
Simple, extensible user import from a CSV file.

Code

function uif_uif_validate_user($user_data, $uid, $header = NULL) {
  if (!valid_email_address($user_data['email'])) {
    return t('Missing or invalid email address !mail.', array(
      '!mail' => $user_data['email'],
    ));
  }
}