Skip to content

Kirby 6.0.0

$pageValidators->validateHasNoChildren()

Validates that the page has no children or drafts left, which would be deleted together with it

$pageValidators->validateHasNoChildren(): void

Parent class

Kirby\Guards\PageValidators