Guest User

Untitled

a guest
Nov 22nd, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. $firstGroup = $query->andConditionGroup()
  2. ->condition('type', ['article', 'video_game'], 'IN')
  3. ->condition('status', NodeInterface::PUBLISHED)
  4. ->condition('field_include_in_feed', 1)
  5. ->condition('revision_uid', '1', '>=');
  6.  
  7. $nids = $query->condition($firstGroup)->($secondGroup)->execute();
Add Comment
Please, Sign In to add comment