Skip to content

Kirby 6.0.0

$file->isAccessible()

Checks if the file is accessible to the current user This permission depends on the read option until v7

$file->isAccessible(): bool

Return type

bool

Parent class

Kirby\Cms\File