1 EntityReferenceBehaviorHandler.inc | public EntityReferenceBehaviorHandlerInterface::presave($entity_type, $entity, $field, $instance, $langcode, &$items) |
Act on pre-saving an entity reference field.
See also
File
- core/
modules/ entityreference/ plugins/ behavior/ EntityReferenceBehaviorHandler.inc, line 66
Class
- EntityReferenceBehaviorHandlerInterface
- Additional behaviors for a Entity Reference field.
Code
public function presave($entity_type, $entity, $field, $instance, $langcode, &$items);