You are here

public function RestfulEntityBaseUser::getQueryForList in RESTful 7

Overrides \RestfulEntityBase::getQueryForList().

Skip the anonymous user in listing.

Overrides RestfulDataProviderEFQ::getQueryForList

File

plugins/restful/RestfulEntityBaseUser.php, line 53
Contains RestfulEntityBaseUser.

Class

RestfulEntityBaseUser
@file Contains RestfulEntityBaseUser.

Code

public function getQueryForList() {
  $query = parent::getQueryForList();
  $query
    ->entityCondition('entity_id', 0, '>');
  return $query;
}