❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$roots->roles()
Returns the root of the roles folder.
since:
Kirby 2.4.0
return
(string)
Example
<?= kirby()->roots()->roles() ?>
↑
Cheat Sheet overview
←
$roots->plugins()
→
$roots->site()
↓
Back to Cheat Sheet section
Top