public function SelectionInterface::countMatchingItems in Multi-path autocomplete 8
Counts items that matches against the given string.
Return value
int The number of matching items.
2 methods override SelectionInterface::countMatchingItems()
- SelectionBase::countMatchingItems in lib/
Drupal/ mpac/ Plugin/ mpac/ selection/ SelectionBase.php - Counts items that matches against the given string.
- SelectionBroken::countMatchingItems in lib/
Drupal/ mpac/ Plugin/ Type/ Selection/ SelectionBroken.php - Counts items that matches against the given string.
File
- lib/
Drupal/ mpac/ Plugin/ Type/ Selection/ SelectionInterface.php, line 30 - Contains \Drupal\mpac\Plugin\Type\Selection\SelectionInterface.
Class
- SelectionInterface
- Interface definition for Multi-path autocomplete selection plugins.
Namespace
Drupal\mpac\Plugin\Type\SelectionCode
public function countMatchingItems($match = NULL, $match_operator = 'CONTAINS');