You are here

public function LingotekProfileUsage::__construct in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  2. 4.0.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  3. 3.0.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  4. 3.1.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  5. 3.2.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  6. 3.3.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  7. 3.4.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  8. 3.5.x src/LingotekProfileUsage.php \Drupal\lingotek\LingotekProfileUsage::__construct()
  9. 3.6.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\Query\QueryFactory $entity_query: The entity query factory.

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

File

src/LingotekProfileUsage.php, line 44

Class

LingotekProfileUsage
Service for checking Lingotek profiles usage.

Namespace

Drupal\lingotek

Code

public function __construct(LingotekConfigurationServiceInterface $lingotek_configuration, QueryFactory $entity_query, ConfigMapperManagerInterface $config_mapper_manager) {
  $this->lingotekConfiguration = $lingotek_configuration;
  $this->entityQuery = $entity_query;
  $this->configMapperManager = $config_mapper_manager;
}