Copied!

PublishVersionEvent

PublishVersionEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

PublishVersionEvent.php : 26
public __construct(Content $content, VersionInfo $versionInfo, array<string|int, mixed> $translations)

Parameters

Name Type Default value Description
$content Content - -
$versionInfo VersionInfo - -
$translations array<string|int, mixed> - -

publicgetContent()

PublishVersionEvent.php : 36
public getContent() : Content

Return values

Content

publicgetTranslations()

PublishVersionEvent.php : 46
public getTranslations() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetVersionInfo()

PublishVersionEvent.php : 41
public getVersionInfo() : VersionInfo

Return values

VersionInfo

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

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().