You are here

public function FileCommited::getModifications in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

Overrides AFile::getModifications

File

vendor/edsdk/file-uploader-server-php/src/lib/file/FileCommited.php, line 46

Class

FileCommited

Namespace

EdSDK\FileUploaderServer\lib\file

Code

public function getModifications() {
  $modifications = [];
  $f = $this
    ->getFilePreview();
  if ($f
    ->exists()) {
    $modifications[] = $f;
  }
  $f = $this
    ->getFileOriginal();
  if ($f
    ->exists()) {
    $modifications[] = $f;
  }
  return $modifications;
}