Copied!

CopyContentTypeEvent

CopyContentTypeEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

CopyContentTypeEvent.php : 26
public __construct(ContentType $contentTypeCopy, ContentType $contentType[, User|null $creator = null ])

Parameters

Name Type Default value Description
$contentTypeCopy ContentType - -
$contentType ContentType - -
$creator User|null null -

publicgetContentType()

CopyContentTypeEvent.php : 41
public getContentType() : ContentType

Return values

ContentType

publicgetContentTypeCopy()

CopyContentTypeEvent.php : 36
public getContentTypeCopy() : ContentType

Return values

ContentType

publicgetCreator()

CopyContentTypeEvent.php : 46
public getCreator() : User|null

Return values

User|null

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