class RequestTranslationEvent in TMGMT Translator Smartling 8
Same name and namespace in other branches
- 8.4 src/Event/RequestTranslationEvent.php \Drupal\tmgmt_smartling\Event\RequestTranslationEvent
- 8.2 src/Event/RequestTranslationEvent.php \Drupal\tmgmt_smartling\Event\RequestTranslationEvent
- 8.3 src/Event/RequestTranslationEvent.php \Drupal\tmgmt_smartling\Event\RequestTranslationEvent
Hierarchy
- class \Drupal\tmgmt_smartling\Event\RequestTranslationEvent extends \Symfony\Component\EventDispatcher\Event
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\EventView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RequestTranslationEvent:: |
protected | property | ||
RequestTranslationEvent:: |
public | function | ||
RequestTranslationEvent:: |
constant | |||
RequestTranslationEvent:: |
public | function |