public function EntityMatcherDeriver::__construct in Linkit 8.5
Same name and namespace in other branches
- 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\DerivativeCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}