You are here

public function SelectionBroken::countMatchingItems in Multi-path autocomplete 8

Counts items that matches against the given string.

Return value

int The number of matching items.

Overrides SelectionInterface::countMatchingItems

File

lib/Drupal/mpac/Plugin/Type/Selection/SelectionBroken.php, line 15
Contains \Drupal\mpac\Plugin\Type\Selection\SelectionBroken.

Class

SelectionBroken
A null implementation of SelectionInterface.

Namespace

Drupal\mpac\Plugin\Type\Selection

Code

public function countMatchingItems($match = NULL, $match_operator = 'CONTAINS') {
  return 0;
}