protected function CerHandler::getRemoteReferenceIDs in Corresponding Entity References 7.2
Gets the IDs of the entities referenced by $entity.
Parameters
object $entity: The remote entity.
Return value
array Array of entity IDs, empty array if there are no references.
2 calls to CerHandler::getRemoteReferenceIDs()
- CerHandler::addReferenceFrom in ./
handler.inc - Creates a reference to the local entity on the remote entity. Throws CerException if the local entity is already referenced by the remote entity, or if the remote field cannot hold any more values.
- CerHandler::referencedBy in ./
handler.inc - Implements CerHandlerInterface::referencedBy().
File
- ./
handler.inc, line 412 - Contains base code for CER handlers, which are objects responsible for creating, updating and deleting corresponding references between entities.
Class
- CerHandler
- @class Generic CER handler with rudimentary language handling.
Code
protected function getRemoteReferenceIDs($entity) {
return $this
->getReferenceIDs($entity, $this->remote);
}