You are here

public function EntityMatcherDeriver::__construct in Linkit 8.4

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

Creates an EntityMatcherDeriver object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

src/Plugin/Derivative/EntityMatcherDeriver.php, line 35
Contains \Drupal\linkit\Plugin\Derivative\EntityMatcherDeriver.

Class

EntityMatcherDeriver

Namespace

Drupal\linkit\Plugin\Derivative

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}