public function Broken::countReferenceableEntities in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php \Drupal\Core\Entity\Plugin\EntityReferenceSelection\Broken::countReferenceableEntities()
Counts entities that are referenceable.
Return value
int The number of referenceable entities.
Overrides SelectionInterface::countReferenceableEntities
File
- core/
lib/ Drupal/ Core/ Entity/ Plugin/ EntityReferenceSelection/ Broken.php, line 54 - Contains \Drupal\Core\Entity\Plugin\EntityReferenceSelection\Broken.
Class
- Broken
- Defines a fallback plugin for missing entity_reference selection plugins.
Namespace
Drupal\Core\Entity\Plugin\EntityReferenceSelectionCode
public function countReferenceableEntities($match = NULL, $match_operator = 'CONTAINS') {
return 0;
}