$siteBlueprint->optionForUser()
Return the option settings depending on the user role
$siteBlueprint->optionForUser(User $user, string $action): bool|null
Parameters
| Name | Type | Default |
|---|---|---|
| $userrequired | Kirby\Cms\User |
no default value |
| $actionrequired | string |
no default value |
Return types
boolornull
Parent class
Kirby\Blueprint\SiteBlueprint
inherited from Kirby\Blueprint\Blueprint