Skip to content

Kirby 5.6.4

PageRules::validateContent()

Validates that the page content has no errors in any language

PageRules::validateContent(Kirby\Cms\Page $page): void

Parameters

Name Type Default
$pagerequired Kirby\Cms\Page no default value

Exceptions

Type Description
Kirby\Exception\PermissionException If the content is not complete

Parent class

Kirby\Cms\PageRules