protected function Upload::checkType in UEditor - 百度编辑器 8
文件类型检测
Return value
bool
1 call to Upload::checkType()
- UploadFile::doUpload in src/
Uploader/ UploadFile.php
File
- src/
Uploader/ Upload.php, line 205
Class
- Upload
- UEditor编辑器通用上传类
Namespace
Drupal\ueditor\UploaderCode
protected function checkType() {
return in_array($this
->getFileExt(), $this->config["allowFiles"]);
}