public function SelectionInterface::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.
2 methods override SelectionInterface::getMatchingItems()
- SelectionBase::getMatchingItems in lib/
Drupal/ mpac/ Plugin/ mpac/ selection/ SelectionBase.php - Returns a list of matching items.
- SelectionBroken::getMatchingItems in lib/
Drupal/ mpac/ Plugin/ Type/ Selection/ SelectionBroken.php - Returns a list of matching items.
File
- lib/
Drupal/ mpac/ Plugin/ Type/ Selection/ SelectionInterface.php, line 22 - 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 getMatchingItems($match = NULL, $match_operator = 'CONTAINS', $limit = 0);