Skip to content

Kirby 6.0.0

SiteGuards::for()

Returns the guards for the model, bound to the currently authenticated user.

SiteGuards::for(Model $model): SiteGuards

Parameters

Name Type Default
$modelrequired Kirby\Cms\Model no default value

Return type

Kirby\Guards\SiteGuards

Parent class

Kirby\Guards\SiteGuards inherited from Kirby\Guards\ModelGuards