BeforeLabelResourceResolvedEvent

FinalYes

Event that is fired after a file name has been mapped to a translation domain for all files of a package.

E.g. "vendor/myext.messages" is mapped to "EXT:myext/Resources/Private/Language/locallang.xlf"

If you want this file to be a different location, e.g. for historical reasons, you can do this here.

Table of Contents

Properties

$domains  : array<string|int, mixed>
$packageKey  : string

Methods

__construct()  : mixed

Properties

$domains

public array<string|int, mixed> $domains

$packageKey read-only

public string $packageKey

Methods

__construct()

public __construct(string $packageKey, array<string|int, mixed> $domains) : mixed
Parameters
$packageKey : string
$domains : array<string|int, mixed>

        
On this page

Search results