EntityAutocompleteMatcher
class EntityAutocompleteMatcher implements EntityAutocompleteMatcherInterface (View source)
Matcher class to get autocompletion results for entity reference.
Properties
| protected SelectionPluginManagerInterface | $selectionManager | The entity reference selection handler plugin manager. |
Methods
__construct(SelectionPluginManagerInterface $selection_manager)
Constructs a EntityAutocompleteMatcher object.
array
getMatches(string $target_type, string $selection_handler, array $selection_settings, string $string = '')
Gets matched labels based on a given search string.
Details
__construct(SelectionPluginManagerInterface $selection_manager)
Constructs a EntityAutocompleteMatcher object.
array
getMatches(string $target_type, string $selection_handler, array $selection_settings, string $string = '')
Gets matched labels based on a given search string.