W3cubDocs

/Drupal 8

class EntityAutocompleteMatcher

Matcher class to get autocompletion results for entity reference.

Hierarchy

File

core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php, line 12

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
EntityAutocompleteMatcher::$selectionManager protected property The entity reference selection handler plugin manager.
EntityAutocompleteMatcher::getMatches public function Gets matched labels based on a given search string.
EntityAutocompleteMatcher::__construct public function Constructs a EntityAutocompleteMatcher object.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityAutocompleteMatcher.php/class/EntityAutocompleteMatcher/8.1.x