Plugin::validateName()
Checks if the name follows the required pattern and throws an exception if not
Parameters
Name | Type | Default |
---|---|---|
$name * | string |
– |
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
Checks if the name follows the required pattern and throws an exception if not
Name | Type | Default |
---|---|---|
$name * | string |
– |
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |