You are here

public function LingotekProfileUsage::__construct in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8 src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  2. 8.2 src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  3. 4.0.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  4. 3.0.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  5. 3.1.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  6. 3.2.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  7. 3.3.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  8. 3.4.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  9. 3.5.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  10. 3.7.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  11. 3.8.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()

Constructs a new LingotekProfileUsage object.

Parameters

\Drupal\lingotek\LingotekConfigurationServiceInterface $lingotek_configuration: The Lingotek configuration service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\config_translation\ConfigMapperManagerInterface $config_mapper_manager: The configuration mapper manager.

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

File

src/LingotekProfileUsage.php, line 54

Class

LingotekProfileUsage
Service for checking Lingotek profiles usage.

Namespace

Drupal\lingotek

Code

public function __construct(LingotekConfigurationServiceInterface $lingotek_configuration, EntityTypeManagerInterface $entity_type_manager, ConfigMapperManagerInterface $config_mapper_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  $this->lingotekConfiguration = $lingotek_configuration;
  $this->entityTypeManager = $entity_type_manager;
  $this->configMapperManager = $config_mapper_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}