public function EntityMatcherDeriver::__construct in Linkit 8.4
Same name and namespace in other branches
- 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
Namespace
Drupal\linkit\Plugin\DerivativeCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
}