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