function Broken::countReferenceableEntities

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

Overrides SelectionInterface::countReferenceableEntities

File

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

Class

Broken
Defines a fallback plugin for missing entity_reference selection plugins.

Namespace

Drupal\Core\Entity\Plugin\EntityReferenceSelection

Code

public function countReferenceableEntities($match = NULL, $match_operator = 'CONTAINS') {
    return 0;
}

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