function Broken::validateReferenceableEntities

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php \Drupal\Core\Entity\Plugin\EntityReferenceSelection\Broken::validateReferenceableEntities()
  2. 8.9.x core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php \Drupal\Core\Entity\Plugin\EntityReferenceSelection\Broken::validateReferenceableEntities()
  3. 10 core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php \Drupal\Core\Entity\Plugin\EntityReferenceSelection\Broken::validateReferenceableEntities()

Overrides SelectionInterface::validateReferenceableEntities

File

core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php, line 52

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 [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.