public function SelectionInterface::countReferencableEntities in Entity reference 8
Count entities that are referencable by a given field.
2 methods override SelectionInterface::countReferencableEntities()
- SelectionBase::countReferencableEntities in lib/
Drupal/ entityreference/ Plugin/ entityreference/ selection/ SelectionBase.php - Implements EntityReferenceHandler::countReferencableEntities().
- SelectionBroken::countReferencableEntities in lib/
Drupal/ entityreference/ Plugin/ Type/ Selection/ SelectionBroken.php - Count entities that are referencable by a given field.
File
- lib/
Drupal/ entityreference/ Plugin/ Type/ Selection/ SelectionInterface.php, line 30 - Definition of Drupal\entityreference\Plugin\Type\Selection\SelectionInterface.
Class
- SelectionInterface
- Interface definition for entityre-ference selection plugins.
Namespace
Drupal\entityreference\Plugin\Type\SelectionCode
public function countReferencableEntities($match = NULL, $match_operator = 'CONTAINS');