1 EntityReferenceBehaviorHandler.inc public EntityReferenceBehaviorHandler::validate($entity_type, $entity, $field, $instance, $langcode, $items, &$errors)

Act on validating an entity reference field.

Overrides EntityReferenceBehaviorHandlerInterface::validate

See also

hook_field_validate()

File

core/modules/entityreference/plugins/behavior/EntityReferenceBehaviorHandler.inc, line 176

Class

EntityReferenceBehaviorHandler
An abstract implementation of EntityReferenceBehaviorHandlerInterface.

Code

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