You are here

public function Broken::validateReferenceableEntities in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php \Drupal\Core\Entity\Plugin\EntityReferenceSelection\Broken::validateReferenceableEntities()

Validates which existing entities can be referenced.

Return value

array An array of valid entity IDs.

Overrides SelectionInterface::validateReferenceableEntities

File

core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php, line 61
Contains \Drupal\Core\Entity\Plugin\EntityReferenceSelection\Broken.

Class

Broken
Defines a fallback plugin for missing entity_reference selection plugins.

Namespace

Drupal\Core\Entity\Plugin\EntityReferenceSelection

Code

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