public function RequestTranslationSubscriber::__construct in TMGMT Translator Smartling 8.2
Same name and namespace in other branches
- 8.4 src/EventSubscriber/RequestTranslationSubscriber.php \Drupal\tmgmt_smartling\EventSubscriber\RequestTranslationSubscriber::__construct()
- 8 src/EventSubscriber/RequestTranslationSubscriber.php \Drupal\tmgmt_smartling\EventSubscriber\RequestTranslationSubscriber::__construct()
- 8.3 src/EventSubscriber/RequestTranslationSubscriber.php \Drupal\tmgmt_smartling\EventSubscriber\RequestTranslationSubscriber::__construct()
File
- src/
EventSubscriber/ RequestTranslationSubscriber.php, line 19
Class
Namespace
Drupal\tmgmt_smartling\EventSubscriberCode
public function __construct(QueueFactory $queue, TranslationJobToUrl $url_converter) {
$this->contextUploadQueue = $queue
->get('smartling_context_upload', TRUE);
$this->urlConverter = $url_converter;
}