Copied!

SetContentStateEvent

SetContentStateEvent.php : 16
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

SetContentStateEvent.php : 27
public __construct(ContentInfo $contentInfo, ObjectStateGroup $objectStateGroup, ObjectState $objectState)

Parameters

Name Type Default value Description
$contentInfo ContentInfo - -
$objectStateGroup ObjectStateGroup - -
$objectState ObjectState - -

publicgetContentInfo()

SetContentStateEvent.php : 37
public getContentInfo() : ContentInfo

Return values

ContentInfo

publicgetObjectState()

SetContentStateEvent.php : 47
public getObjectState() : ObjectState

Return values

ObjectState

publicgetObjectStateGroup()

SetContentStateEvent.php : 42
public getObjectStateGroup() : ObjectStateGroup

Return values

ObjectStateGroup

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