1 EntityReferenceSelectionHandler.inc public EntityReferenceSelectionHandlerBroken::validateReferencableEntities(array $ids)

Validate that entities can be referenced by this field.

Return value

An array of entity ids that are valid.:

Overrides EntityReferenceSelectionHandlerInterface::validateReferencableEntities

File

core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandler.inc, line 101
Abstraction of the selection logic of an entity reference field.

Class

EntityReferenceSelectionHandlerBroken
A null implementation of EntityReferenceSelectionHandler.

Code

public function validateReferencableEntities(array $ids) {
  return array();
}