Copied!

UpdateContentEvent

UpdateContentEvent.php : 16
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

UpdateContentEvent.php : 30
public __construct(Content $content, VersionInfo $versionInfo, ContentUpdateStruct $contentUpdateStruct[, array<string|int, mixed>|null $fieldIdentifiersToValidate = null ])

Parameters

Name Type Default value Description
$content Content - -
$versionInfo VersionInfo - -
$contentUpdateStruct ContentUpdateStruct - -
$fieldIdentifiersToValidate array<string|int, mixed>|null null -

publicgetContent()

UpdateContentEvent.php : 42
public getContent() : Content

Return values

Content

publicgetContentUpdateStruct()

UpdateContentEvent.php : 52
public getContentUpdateStruct() : ContentUpdateStruct

Return values

ContentUpdateStruct

publicgetFieldIdentifiersToValidate()

UpdateContentEvent.php : 60
public getFieldIdentifiersToValidate() : array<string|int, string>|null

Return values

array<string|int, string>|null

publicgetVersionInfo()

UpdateContentEvent.php : 47
public getVersionInfo() : VersionInfo

Return values

VersionInfo