You are here

public function CerHandlerInterface::reference in Corresponding Entity References 7.2

Create a reference to the local entity on the remote entity, and vice-versa if needed. Should throw CerException if the reference(s) can't be created for any reason.

Parameters

object $entity:

1 method overrides CerHandlerInterface::reference()
CerHandler::reference in ./handler.inc
Implements CerHandlerInterface::reference().

File

./handler.inc, line 84
Contains base code for CER handlers, which are objects responsible for creating, updating and deleting corresponding references between entities.

Class

CerHandlerInterface

Code

public function reference($entity);