EntityAutocompleteMatcher::__construct

public EntityAutocompleteMatcher::__construct(SelectionPluginManagerInterface $selection_manager)

Constructs a EntityAutocompleteMatcher object.

Parameters

\Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface $selection_manager: The entity reference selection handler plugin manager.

File

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

Class

EntityAutocompleteMatcher
Matcher class to get autocompletion results for entity reference.

Namespace

Drupal\Core\Entity

Code

public function __construct(SelectionPluginManagerInterface $selection_manager) {
  $this->selectionManager = $selection_manager;
}
doc_Drupal
2016-10-29 09:04:37
Comments
Leave a Comment

Please login to continue.