public function EntityShareClientCliService::__construct in Entity Share 8.3
Same name and namespace in other branches
- 8 modules/entity_share_client/src/Service/EntityShareClientCliService.php \Drupal\entity_share_client\Service\EntityShareClientCliService::__construct()
- 8.2 modules/entity_share_client/src/Service/EntityShareClientCliService.php \Drupal\entity_share_client\Service\EntityShareClientCliService::__construct()
Constructor.
Parameters
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.
\Drupal\entity_share_client\Service\ImportServiceInterface $import_service: The import service.
File
- modules/
entity_share_client/ src/ Service/ EntityShareClientCliService.php, line 42
Class
- EntityShareClientCliService
- Service to ease the usage of CLI tools.
Namespace
Drupal\entity_share_client\ServiceCode
public function __construct(TranslationInterface $string_translation, ImportServiceInterface $import_service) {
$this->stringTranslation = $string_translation;
$this->importService = $import_service;
}