1kenthomas + userid   2

8 - get user id from username or email without logging in - Drupal Answers
$users = \Drupal::entityTypeManager()->getStorage('user')
->loadByProperties(['mail' => $mail]);
$user = reset($users);
iit  drupal  userid  uid  email 
september 2019 by 1kenthomas

Copy this bookmark:



description:


tags: