Skip to content

Kirby 6.0.0

$pagePermissions->has()

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

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

Parameters

Name Type Default
$actionrequired string no default value

Return type

bool

Parent class

Kirby\Guards\PagePermissions inherited from Kirby\Guards\ModelPermissions