Home::alternative()
Returns an alternative URL if access to the first choice is blocked.
Home::alternative(Kirby\Cms\User $user): string
Parameters
Name | Type | Default |
---|---|---|
$user * | Kirby\Cms\User |
– |
Return type
string
Returns an alternative URL if access to the first choice is blocked.
Home::alternative(Kirby\Cms\User $user): string
Name | Type | Default |
---|---|---|
$user * | Kirby\Cms\User |
– |
string