LanguageRules::create()
Validates if the language can be created
Parameters
Name | Type | Default |
---|---|---|
$language * | Kirby\Cms\Language |
– |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\DuplicateException |
If the language already exists |