Skip to content

Kirby 5.0.4

$view->data()

Returns the view's data array without globals

$view->data(): array

Return type

array

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

Parent class

Kirby\Toolkit\View