You are here

function EntityReference_SelectionHandler_Views::countReferencableEntities in Entity reference 7

Implements EntityReferenceHandler::countReferencableEntities().

Overrides EntityReference_SelectionHandler::countReferencableEntities

File

plugins/selection/EntityReference_SelectionHandler_Views.class.php, line 150

Class

EntityReference_SelectionHandler_Views
Entity handler for Views.

Code

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