W3cubDocs

/Drupal 8

public function SelectionInterface::countReferenceableEntities

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');

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityReferenceSelection!SelectionInterface.php/function/SelectionInterface::countReferenceableEntities/8.1.x