You are here

public function SynonymConfigController::__construct in Synonyms 2.0.x

Same name and namespace in other branches
  1. 8 src/Controller/SynonymConfigController.php \Drupal\synonyms\Controller\SynonymConfigController::__construct()

SynonymConfigController constructor.

Parameters

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.

\Drupal\synonyms\SynonymsService\BehaviorService $behavior_service: The behavior service.

\Drupal\synonyms\SynonymsService\ProviderService $provider_service: The provider service.

File

src/Controller/SynonymConfigController.php, line 51

Class

SynonymConfigController
Controller for admin UI of the module.

Namespace

Drupal\synonyms\Controller

Code

public function __construct(EntityTypeBundleInfoInterface $entity_type_bundle_info, BehaviorService $behavior_service, ProviderService $provider_service) {
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this->behaviorService = $behavior_service;
  $this->providerService = $provider_service;
}