Copied!

EnableLanguageEvent

EnableLanguageEvent.php : 14
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

EnableLanguageEvent.php : 22
public __construct(Language $enabledLanguage, Language $language)

Parameters

Name Type Default value Description
$enabledLanguage Language - -
$language Language - -

publicgetEnabledLanguage()

EnableLanguageEvent.php : 30
public getEnabledLanguage() : Language

Return values

Language

publicgetLanguage()

EnableLanguageEvent.php : 35
public getLanguage() : Language

Return values

Language

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