Copied!

CreateContentEvent

CreateContentEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

CreateContentEvent.php : 29
public __construct(Content $content, ContentCreateStruct $contentCreateStruct, array<string|int, mixed> $locationCreateStructs[, array<string|int, mixed>|null $fieldIdentifiersToValidate = null ])

Parameters

Name Type Default value Description
$content Content - -
$contentCreateStruct ContentCreateStruct - -
$locationCreateStructs array<string|int, mixed> - -
$fieldIdentifiersToValidate array<string|int, mixed>|null null -

publicgetContent()

CreateContentEvent.php : 51
public getContent() : Content

Return values

Content

publicgetContentCreateStruct()

CreateContentEvent.php : 41
public getContentCreateStruct() : ContentCreateStruct

Return values

ContentCreateStruct

publicgetFieldIdentifiersToValidate()

CreateContentEvent.php : 59
public getFieldIdentifiersToValidate() : array<string|int, string>|null

Return values

array<string|int, string>|null

publicgetLocationCreateStructs()

CreateContentEvent.php : 46
public getLocationCreateStructs() : array<string|int, mixed>

Return values

array<string|int, mixed>