Implements SelectionInterface::validateReferencableEntities().
Overrides SelectionInterface::validateReferencableEntities
public function validateReferencableEntities(array $ids) {
$result = array();
if ($ids) {
$target_type = $this->field['settings']['target_type'];
$entity_info = entity_get_info($target_type);
$query = $this
->buildEntityQuery();
$result = $query
->condition($entity_info['entity_keys']['id'], $ids, 'IN')
->execute();
}
return $result;
}