Skip to content

Kirby 4.4.1

Plugin::validateName()

Checks if the name follows the required pattern and throws an exception if not

Plugin::validateName(string $name): void

Parameters

Name Type Default
$name * string

Exceptions

Parent class

Kirby\Cms\Plugin