PageRules::validateTitleLength()
Ensures that the page title is not empty
PageRules::validateTitleLength(string $title): void
Parameters
Name | Type | Default |
---|---|---|
$title * | string |
– |
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the title is empty |