Lang
in package
Uses
UtilsProvider
LEGACY Language texts for the JavaScript frontend. Later when using TypeScript this class is no longer needed because the __() function is used and automatically extracted.
Table of Contents
Methods
- getItems() : array<string|int, mixed>
- Get an array of language keys and translations.
- getPluginConstantPrefix() : string
- Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
Methods
getItems()
Get an array of language keys and translations.
public
getItems(Assets $assets) : array<string|int, mixed>
Parameters
- $assets : Assets
Return values
array<string|int, mixed>getPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string