You are here

public function SelectionBase::getMatchingItems in Multi-path autocomplete 8

Returns a list of matching items.

Return value

array An array of path items. Keys are the system paths of the items and values are (safe HTML) titles of the corresponding pages.

Overrides SelectionInterface::getMatchingItems

2 methods override SelectionBase::getMatchingItems()
NodeSelection::getMatchingItems in lib/Drupal/mpac/Plugin/mpac/selection/NodeSelection.php
Returns a list of matching items.
PathSelection::getMatchingItems in lib/Drupal/mpac/Plugin/mpac/selection/PathSelection.php
Returns a list of matching items.

File

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

Class

SelectionBase
Plugin implementation of the 'selection' mpac.

Namespace

Drupal\mpac\Plugin\mpac\selection

Code

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