Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = Drupal::entityQuery('node');
- $group = $query->orConditionGroup()
- ->condition('content_a.field_one', 'uno')
- ->condition('contnet_a.field_two', 'dos');
- $entity_ids = $query->condition('type', 'content_b')
- ->condition($group)
- ->execute();
Add Comment
Please, Sign In to add comment