$languages->data()
Getter and setter for the data
$languages->data(array|null $data = null): array|Kirby\Cms\Languages
Parameters
Name | Type | Default |
---|---|---|
$data | array ornull |
null
|
Return types
array
orKirby\Cms\Languages
This method modifies the existing $
object it is applied to and returns it again.
Parent class
Kirby\Cms\Languages
inherited from Kirby\Toolkit\Collection