Copied!

CreateLocationEvent

CreateLocationEvent.php : 16
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

CreateLocationEvent.php : 27
public __construct(Location $location, ContentInfo $contentInfo, LocationCreateStruct $locationCreateStruct)

Parameters

Name Type Default value Description
$location Location - -
$contentInfo ContentInfo - -
$locationCreateStruct LocationCreateStruct - -

publicgetContentInfo()

CreateLocationEvent.php : 42
public getContentInfo() : ContentInfo

Return values

ContentInfo

publicgetLocation()

CreateLocationEvent.php : 37
public getLocation() : Location

Return values

Location

publicgetLocationCreateStruct()

CreateLocationEvent.php : 47
public getLocationCreateStruct() : LocationCreateStruct

Return values

LocationCreateStruct

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