Skip to content

Kirby 5.0.4

$core->sections()

Returns a list of all section definitions

$core->sections(): array

Return type

array

This method modifies the existing $core object it is applied to and returns it again.

Parent class

Kirby\Cms\Core