Skip to content

SiteRules::update()

Validates if the site can be updated

SiteRules::update(Kirby\Cms\Site $site, array $content = [ ]): bool

Parameters

Name Type Default
$site * Kirby\Cms\Site
$content array [ ]

Return type

bool

Exceptions

Type Description
Kirby\Exception\PermissionException If the user is not allowed to update the site

Parent class

Kirby\Cms\SiteRules