How to join user table with another table in views data

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on Thu, 11/01/2018 - 18:52
How to implement custom views data on Drupal 8 and to join the user table to the query using hook_views_data(). Making a relationship between a user uid and the user table to finally get a fully loaded user object.