Merge pull request #8153 from Juanitou/patch-3

Fix updateCMSFields example in documentation
This commit is contained in:
Daniel Hensby 2018-06-10 17:08:36 +01:00 committed by GitHub
commit a8f14f96ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,6 +182,7 @@ extension. The `CMS` provides a `updateCMSFields` Extension Hook to tie into.
```php ```php
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\TextField; use SilverStripe\Forms\TextField;
use SilverStripe\AssetAdmin\Forms\UploadField; use SilverStripe\AssetAdmin\Forms\UploadField;
use SilverStripe\ORM\DataExtension; use SilverStripe\ORM\DataExtension;