Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1.         $query = new EntityFieldQuery();
  2.  
  3.         $query->entityCondition('entity_type', 'node')
  4.             ->entityCondition('path', array('pathauto' => TRUE), '=')
  5.             ->propertyCondition('status', NODE_PUBLISHED);
  6.         $result = $query->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement