Skip to content

Kirby 5.1.1

$block->controller()

Controller for the block snippet

$block->controller(): array

Return type

array

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

Parent class

Kirby\Cms\Block