You are here

public function CerPresetSelectionHandler::countReferencableEntities in Corresponding Entity References 7.3

Count entities that are referencable by a given field.

Overrides EntityReference_SelectionHandler::countReferencableEntities

File

extensions/cer_entity_settings/plugins/entityreference/selection/CerPresetSelectionHandler.class.php, line 36

Class

CerPresetSelectionHandler

Code

public function countReferencableEntities($match = NULL, $match_operator = 'CONTAINS') {
  return sizeof($this
    ->getReferencableEntities());
}