public SelectionInterface::countReferenceableEntities($match = NULL, $match_operator = 'CONTAINS')
Counts entities that are referenceable.
Return value
int The number of referenceable entities.
File
- core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 33
Class
- SelectionInterface
- Interface definition for Entity Reference Selection plugins.
Namespace
Drupal\Core\Entity\EntityReferenceSelection
Code
public function countReferenceableEntities($match = NULL, $match_operator = 'CONTAINS');
Please login to continue.