You are here

protected function RestfulDataProviderEFQ::EFQObject in RESTful 7

Gets a EFQ object.

Return value

\EntityFieldQuery The object that inherits from \EntityFieldQuery.

2 calls to RestfulDataProviderEFQ::EFQObject()
RestfulDataProviderEFQ::getEntityFieldQuery in plugins/restful/RestfulDataProviderEFQ.php
Initialize an EntityFieldQuery (or extending class).
RestfulEntityBase::getQueryForAutocomplete in plugins/restful/RestfulEntityBase.php
Request the query object to get a list for autocomplete.

File

plugins/restful/RestfulDataProviderEFQ.php, line 488
Contains \RestfulDataProviderEFQ

Class

RestfulDataProviderEFQ
@file Contains \RestfulDataProviderEFQ

Code

protected function EFQObject() {
  $efq_class = $this->EFQClass;
  return new $efq_class();
}