Copied!

CreateContentTypeEvent

CreateContentTypeEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

CreateContentTypeEvent.php : 26
public __construct(ContentTypeDraft $contentTypeDraft, ContentTypeCreateStruct $contentTypeCreateStruct, array<string|int, mixed> $contentTypeGroups)

Parameters

Name Type Default value Description
$contentTypeDraft ContentTypeDraft - -
$contentTypeCreateStruct ContentTypeCreateStruct - -
$contentTypeGroups array<string|int, mixed> - -

publicgetContentTypeCreateStruct()

CreateContentTypeEvent.php : 41
public getContentTypeCreateStruct() : ContentTypeCreateStruct

Return values

ContentTypeCreateStruct

publicgetContentTypeDraft()

CreateContentTypeEvent.php : 36
public getContentTypeDraft() : ContentTypeDraft

Return values

ContentTypeDraft

publicgetContentTypeGroups()

CreateContentTypeEvent.php : 46
public getContentTypeGroups() : array<string|int, mixed>

Return values

array<string|int, mixed>

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