Skip to content

Kirby 6.0.0

$languageAbilities->has()

Checks if the class defines a dedicated action method for the given action

$languageAbilities->has(string $action): bool

Parameters

Name Type Default
$actionrequired string no default value

Return type

bool

Parent class

Kirby\Guards\LanguageAbilities inherited from Kirby\Guards\ModelAbilities