Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityAutocompleteMatcher.php

function EntityAutocompleteMatcher::__construct

Constructs an 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;
}
RSS feed
Powered by Drupal