SiteRules::update()
Validates if the site can be updated
SiteRules::update(Kirby\Cms\Site $site, array $content = [ ]): void
Parameters
Name | Type | Default |
---|---|---|
$siterequired | Kirby\Cms\Site |
no default value |
$content | array |
[ ]
|
Exceptions
Type | Description |
---|---|
Kirby\Exception\PermissionException |
If the user is not allowed to update the site |