You are here

public function TestSelection::countReferenceableEntities in Drupal 8

Counts entities that are referenceable.

Return value

int The number of referenceable entities.

Overrides SelectionInterface::countReferenceableEntities

File

core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php, line 222

Class

TestSelection
Provides a testing plugin.

Namespace

Drupal\Tests\Core\EntityReferenceSelection

Code

public function countReferenceableEntities($match = NULL, $match_operator = 'CONTAINS') {
}