$languages->create()
Creates a new language with the given props
$languages->create(array $props): Kirby\Cms\Language
Parameters
| Name | Type | Default |
|---|---|---|
| $propsrequired | array |
no default value |
Return type
This method modifies the existing $languages object it is applied to and returns it again.