Custom Field Types setZone for getAssets
Open
wrong-info
- Dominant language
- PHP
- Stars
- 45
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Description
Following the documentation [here](https://docs.bolt.cm/3.0/extensions/advanced/customfields) instructions are given for registering custom assets.
However, this will not work unless the assets are assigned to a zone:
``` php
$asset = new JavaScript('web/jquery.uix.multiselect.min.js');
$asset->setZone(Zone::BACKEND);
return [
$asset
];
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.