public function SynonymsEntity::__construct in Synonyms 2.0.x
Same name and namespace in other branches
- 8 synonyms_views_filter/src/Plugin/views/filter/SynonymsEntity.php \Drupal\synonyms_views_filter\Plugin\views\filter\SynonymsEntity::__construct()
SynonymsEntity constructor.
Overrides HandlerBase::__construct
File
- modules/
synonyms_views_filter/ src/ Plugin/ views/ filter/ SynonymsEntity.php, line 45
Class
- SynonymsEntity
- Filter entity by its name or one of its synonyms.
Namespace
Drupal\synonyms_views_filter\Plugin\views\filterCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, BehaviorService $behavior_service) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeManager = $entity_type_manager;
$this->entityTypeBundleInfo = $entity_type_bundle_info;
$this->behaviorService = $behavior_service;
}