public function CerHandler::referencedBy in Corresponding Entity References 7.2
Implements CerHandlerInterface::referencedBy().
Overrides CerHandlerInterface::referencedBy
2 calls to CerHandler::referencedBy()
- 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::dereference in ./
handler.inc - Implements CerHandlerInterface::dereference().
File
- ./
handler.inc, line 229 - 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
public function referencedBy($entity) {
return in_array($this->id, $this
->getRemoteReferenceIDs($entity));
}