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