public function CerField::getHandler in Corresponding Entity References 7.3
Returns a CerFieldHandler subclass instance for the given entity.
Parameters
object $entity: The entity to be wrapped by the handler.
Return value
File
- includes/
CerField.inc, line 72 - Contains the base class for CER field plugins.
Class
- CerField
- @class Represents a single field instance.
Code
public function getHandler(EntityDrupalWrapper $entity) {
return new $this->plugin['handler']($this, $entity);
}