You are here

public function SelectionBase::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

2 methods override SelectionBase::countMatchingItems()
NodeSelection::countMatchingItems in lib/Drupal/mpac/Plugin/mpac/selection/NodeSelection.php
Counts items that matches against the given string.
PathSelection::countMatchingItems in lib/Drupal/mpac/Plugin/mpac/selection/PathSelection.php
Counts items that matches against the given string.

File

lib/Drupal/mpac/Plugin/mpac/selection/SelectionBase.php, line 34
Contains \Drupal\mpac\Plugin\mpac\selection\SelectionBase.

Class

SelectionBase
Plugin implementation of the 'selection' mpac.

Namespace

Drupal\mpac\Plugin\mpac\selection

Code

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