Skip to content

Kirby 6.0.0

$viewResponse->data()

Returns the full state data object

$viewResponse->data(bool $globals = false): array

Parameters

Name Type Default
$globals bool false

Return type

array

Parent class

Kirby\Panel\Response\ViewResponse