public function DataProviderEntity::EFQObject in RESTful 7.2
Gets a EFQ object.
Return value
\EntityFieldQuery The object that inherits from \EntityFieldQuery.
Overrides DataProviderEntityInterface::EFQObject
2 calls to DataProviderEntity::EFQObject()
- DataProviderEntity::getEntityFieldQuery in src/
Plugin/ resource/ DataProvider/ DataProviderEntity.php - Initialize an EntityFieldQuery (or extending class).
- DataProviderEntity::getReferencedId in src/
Plugin/ resource/ DataProvider/ DataProviderEntity.php - Get referenced ID.
File
- src/
Plugin/ resource/ DataProvider/ DataProviderEntity.php, line 492 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderEntity.
Class
- DataProviderEntity
- Class DataProviderEntity.
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function EFQObject() {
$efq_class = $this->EFQClass;
return new $efq_class();
}