You are here

public function Upload::getFileInfo in UEditor - 百度编辑器 8

获取当前上传成功文件的各项信息

Return value

array

1 call to Upload::getFileInfo()
Upload::upload in src/Uploader/Upload.php
抽象方法,上传核心方法

File

src/Uploader/Upload.php, line 221

Class

Upload
UEditor编辑器通用上传类

Namespace

Drupal\ueditor\Uploader

Code

public function getFileInfo() {
  return array(
    "state" => $this->stateInfo,
    "url" => $this->fullName,
    "title" => $this->fileName,
    "original" => $this->oriName,
    "type" => $this->fileType,
    "size" => $this->fileSize,
  );
}