You are here

RequestTranslationEvent.php in TMGMT Translator Smartling 8.2

File

src/Event/RequestTranslationEvent.php
View source
<?php

namespace Drupal\tmgmt_smartling\Event;

use Symfony\Component\EventDispatcher\Event;
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;
  }

}

Classes