You are here

public function FileCommited::getFilePreview in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2

Gets a preview for file.

2 calls to FileCommited::getFilePreview()
FileCommited::applySizes in src/Flmngr/FileUploaderServer/lib/file/FileCommited.php
Apply sized method.
FileCommited::getModifications in src/Flmngr/FileUploaderServer/lib/file/FileCommited.php
Gets all file modifications (original, preview, etc.).

File

src/Flmngr/FileUploaderServer/lib/file/FileCommited.php, line 54

Class

FileCommited
Commited file (data structure about the file of finished upload transaction). Has method for resizing images (applying sizes when finishing transaction).

Namespace

Drupal\n1ed\Flmngr\FileUploaderServer\lib\file

Code

public function getFilePreview() {
  return $this
    ->getFileModification("preview");
}