TranslationDraftCreationFailedEvent
TranslationDraftCreationFailedEvent.php
:
19
Final
Extends Event
Implements
TranslationAttemptEventInterface
Dispatched when the translation provider call for a content item succeeded, but the translated draft or its review status could not be created.
A listener exception is logged and does not reach the code that dispatched the event.
Properties¶
$contentId
¶
TranslationDraftCreationFailedEvent.php
:
22
|
|
|
$exception
¶
TranslationDraftCreationFailedEvent.php
:
26
|
|
|
$providerIdentifier
¶
TranslationDraftCreationFailedEvent.php
:
23
|
|
|
$sourceLanguageCode
¶
TranslationDraftCreationFailedEvent.php
:
24
|
|
|
$targetLanguageCode
¶
TranslationDraftCreationFailedEvent.php
:
25
|
|
|
Methods¶
__construct()
¶
TranslationDraftCreationFailedEvent.php
:
21
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $contentId | int | - | - |
| $providerIdentifier | string | - | - |
| $sourceLanguageCode | string | - | - |
| $targetLanguageCode | string | - | - |
| $exception | Throwable | - | - |
isPropagationStopped()
¶
Event.php
:
35
|
|
|
Return values
bool
stopPropagation()
¶
Event.php
:
47
Stops the propagation of the event to further event listeners.
|
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().