t()
Returns translate string for key from translation file
t(string|array $key, string $fallback = null): mixed
Parameters
Name | Type | Default |
---|---|---|
$key * | string |array |
– |
$fallback | string |
null |
Return type
mixed