You are here

public function SelectionBroken::validateReferencableEntities in Entity reference 8

Validate that entities can be referenced by this field.

Return value

An array of entity ids that are valid.

Overrides SelectionInterface::validateReferencableEntities

File

lib/Drupal/entityreference/Plugin/Type/Selection/SelectionBroken.php, line 44
Definition of Drupal\entityreference\Plugin\entityreference\selection\SelectionBroken.

Class

SelectionBroken
A null implementation of EntityReference_SelectionHandler.

Namespace

Drupal\entityreference\Plugin\Type\Selection

Code

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