I am trying to get user data by UUID in my custom module and I don't know how to join on users_field_data table to get user fields (email, username, etc.).
My request for the users table works but I don't know how to join.
$query = \Drupal::entityQuery('user') ->condition('uuid', $uuid) ->execute(); $result = User::loadMultiple($query); dpm($result);
How can I execute a join with the users table?