1 EntityReferenceSelectionHandler.inc public EntityReferenceSelectionHandlerBroken::countReferencableEntities($match = NULL, $match_operator = 'CONTAINS')

Count entities that are referenceable by a given field.

Overrides EntityReferenceSelectionHandlerInterface::countReferencableEntities

File

core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandler.inc, line 97
Abstraction of the selection logic of an entity reference field.

Class

EntityReferenceSelectionHandlerBroken
A null implementation of EntityReferenceSelectionHandler.

Code

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