$pageValidators->validateSlug()
Validates the length of the slug and that it does not collide with one of the protected root paths
$pageValidators->validateSlug(string $slug, Site|Page|null $parent = null): void
Parameters
| Name | Type | Default |
|---|---|---|
| $slugrequired | string |
no default value |
| $parent | Kirby\Cms\SiteorKirby\Cms\Pageornull |
null
|