You are here

public function EntityMatcherDeriver::__construct in Linkit 8.5

Same name and namespace in other branches
  1. 8.4 src/Plugin/Derivative/EntityMatcherDeriver.php \Drupal\linkit\Plugin\Derivative\EntityMatcherDeriver::__construct()

Creates an EntityMatcherDeriver object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/Plugin/Derivative/EntityMatcherDeriver.php, line 31

Class

EntityMatcherDeriver
Provides matchers based on active entities.

Namespace

Drupal\linkit\Plugin\Derivative

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}