public function RestfulEntityBaseMultipleBundles::getQueryForList in RESTful 7
Overrides RestfulEntityBase::getQueryForList().
Overrides RestfulDataProviderEFQ::getQueryForList
File
- plugins/
restful/ RestfulEntityBaseMultipleBundles.php, line 97 - Contains RestfulEntityBaseMultipleBundles.
Class
- RestfulEntityBaseMultipleBundles
- @file Contains RestfulEntityBaseMultipleBundles.
Code
public function getQueryForList() {
$query = parent::getQueryForList();
$query
->entityCondition('bundle', array_keys($this
->getBundles()), 'IN');
return $query;
}