Copied!

AutoTranslationReviewStatusUpdatedEvent

AutoTranslationReviewStatusUpdatedEvent.php : 19
Final
Extends Event

Dispatched after the transaction updating the review status of one or more translations has been committed.

A batch update dispatches it once for all of its translations. The context is set when the update was requested for a content item or a product, and is null for updates made by translation ids or by publishing a version.

Properties

public $autoTranslationIds read-only

AutoTranslationReviewStatusUpdatedEvent.php : 25
public array<string|int, mixed> $autoTranslationIds

public $context read-only

AutoTranslationReviewStatusUpdatedEvent.php : 26
public AutoTranslationReviewStatusContext|null $context = null

Methods

public__construct()

AutoTranslationReviewStatusUpdatedEvent.php : 24
public __construct(array<int, int> $autoTranslationIds[, AutoTranslationReviewStatusContext|null $context = null ])

Parameters

Name Type Default value Description
$autoTranslationIds array<int, int> - -
$context AutoTranslationReviewStatusContext|null null -

publicisPropagationStopped()

Event.php : 35
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 47

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().