You are here

public function SelectionBroken::countReferencableEntities in Entity reference 8

Count entities that are referencable by a given field.

Overrides SelectionInterface::countReferencableEntities

File

lib/Drupal/entityreference/Plugin/Type/Selection/SelectionBroken.php, line 40
Definition of Drupal\entityreference\Plugin\entityreference\selection\SelectionBroken.

Class

SelectionBroken
A null implementation of EntityReference_SelectionHandler.

Namespace

Drupal\entityreference\Plugin\Type\Selection

Code

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