Skip to content

Kirby 3.8.4

$files->data()

Getter and setter for the data

$files->data(array $data = null): array|Kirby\Cms\Files

Parameters

Name Type Default
$data array null

Return type

array|Kirby\Cms\Files

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

Parent class

Kirby\Cms\Files inherited from Kirby\Toolkit\Collection