Copied!

EventActionInterface

EventActionInterface.php : 14

Represents event action.

Methods

publicexecute()

EventActionInterface.php : 28
public execute(EventActionContext $context) : void

Parameters

Name Type Default value Description
$context EventActionContext - -

publicgetActionIdentifier()

EventActionInterface.php : 16
public getActionIdentifier() : string

Return values

string

publicgetActionLabel()

EventActionInterface.php : 21

Returns human readable label for event action.

public getActionLabel() : string

Return values

string

publicsupports()

EventActionInterface.php : 26

Returns true if action is supports given $context.

public supports(EventActionContext $context) : bool

Parameters

Name Type Default value Description
$context EventActionContext - -

Return values

bool