Skip to content

Kirby 6.0.0

LanguageGuards::for()

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

LanguageGuards::for(Model $model): LanguageGuards

Parameters

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

Return type

Kirby\Guards\LanguageGuards

Parent class

Kirby\Guards\LanguageGuards inherited from Kirby\Guards\ModelGuards