$kirby->language()
Returns the language by code or shortcut (default
, current
).
Parameters
Name | Type | Default |
---|---|---|
$code | string |null |
null |
Return type
Kirby\Cms\Language
|null
Returns the language by code or shortcut (default
, current
).
Name | Type | Default |
---|---|---|
$code | string |null |
null |
Kirby\Cms\Language
|null