You are here

public function EntityReference_BehaviorHandler::validate in Entity reference 7

Act on validating an entity reference field.

See also

hook_field_validate()

1 method overrides EntityReference_BehaviorHandler::validate()
EntityReference_BehaviorHandler_Abstract::validate in plugins/behavior/abstract.inc
Act on validating an entity reference field.

File

plugins/behavior/abstract.inc, line 59

Class

EntityReference_BehaviorHandler
Additional behaviors for a Entity Reference field.

Code

public function validate($entity_type, $entity, $field, $instance, $langcode, $items, &$errors);