You are here

class RequestTranslationEvent in TMGMT Translator Smartling 8.2

Same name and namespace in other branches
  1. 8.4 src/Event/RequestTranslationEvent.php \Drupal\tmgmt_smartling\Event\RequestTranslationEvent
  2. 8 src/Event/RequestTranslationEvent.php \Drupal\tmgmt_smartling\Event\RequestTranslationEvent
  3. 8.3 src/Event/RequestTranslationEvent.php \Drupal\tmgmt_smartling\Event\RequestTranslationEvent

Hierarchy

Expanded class hierarchy of RequestTranslationEvent

2 files declare their use of RequestTranslationEvent
RequestTranslationSubscriber.php in src/EventSubscriber/RequestTranslationSubscriber.php
SmartlingTranslator.php in src/Plugin/tmgmt/Translator/SmartlingTranslator.php
Contains \Drupal\tmgmt_smartling\Plugin\tmgmt\Translator\SmartlingTranslator.

File

src/Event/RequestTranslationEvent.php, line 7

Namespace

Drupal\tmgmt_smartling\Event
View source
class RequestTranslationEvent extends Event {
  const REQUEST_TRANSLATION_EVENT = 'tmgmt_smartling.request_translation';
  protected $job;
  public function __construct($job) {
    $this->job = $job;
  }
  public function getJob() {
    return $this->job;
  }

}

Members