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

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