Skip to content

Kirby 5.3.2

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
$namerequired string no default value

Exceptions

Parent class

Kirby\Plugin\Plugin