Update 01_File_Management.md

Changed very small typo in setAllowedExtensions. Changed Extensiones to Extensions.
This commit is contained in:
Damen Hansen 2020-07-13 14:20:27 +12:00 committed by GitHub
parent d408a4e714
commit d5893bf23c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ class Page extends SiteTree
UploadField options include:
- setIsMultiUpload() - Set to allow many files per field, or one only.
- setAllowedExtensions() - Set list of extensionse this field can accept.
- setAllowedExtensions() - Set list of extensions this field can accept.
- setAllowedFileCategories() - Alternatively specify allowed extensions via category instead.
- setFolderName() - Name of folder to upload into
- getValidator() - Get instance of validator to specify custom validation rules