Entity query on users that are not flagged

by Thomas0878   Last Updated January 13, 2018 18:07 PM

I have a flag on users 'followers'. I would like to query for users without this flag but with different other criteria on user fields (state, ...). I'm able to query for users, but don't know how to join on flag:

$query = $this->entity_query->get('user');
$query->condition('status', 1)
Tags : 8 entities

Related Questions

How to create a custom template for entities?

Updated April 07, 2015 03:03 AM

Drupal 8 Custom Entities from a UI?

Updated July 14, 2015 15:03 PM