ModifyLocalizationHandlerIsAvailableEvent
FinalYes
Fired in {@see LocalizationHandlerRegistry::getAvailableHandlers()} for each registered handler to allow overriding `isAvailable` state returned by the handler `isAvailable()` method. Main use-case is to disable handlers for special cases not implemented in the handler and mitigate the need to xclass them and reduces headaches in instances and for extension developers.
Table of Contents
Properties
- $className : string
- $identifier : string
- $instructions : LocalizationInstructions
- $isAvailable : bool
Methods
- __construct() : mixed
Properties
$className read-only
public
string
$className
$identifier read-only
public
string
$identifier
$instructions read-only
public
LocalizationInstructions
$instructions
$isAvailable
public
bool
$isAvailable
Methods
__construct()
public
__construct(string $identifier, string $className, LocalizationInstructions $instructions, bool $isAvailable) : mixed
Parameters
- $identifier : string
- $className : string
- $instructions : LocalizationInstructions
- $isAvailable : bool