You are here

public function DropzoneMediaEntityCreateEvent::getFile in DropzoneJS 8

Same name and namespace in other branches
  1. 8.2 src/Events/DropzoneMediaEntityCreateEvent.php \Drupal\dropzonejs\Events\DropzoneMediaEntityCreateEvent::getFile()

Get the file for the media entity.

Return value

\Drupal\file\FileInterface The file that will be used for the media entity.

File

src/Events/DropzoneMediaEntityCreateEvent.php, line 98

Class

DropzoneMediaEntityCreateEvent
Represents Media Entity creation as an event when using DropzoneJS.

Namespace

Drupal\dropzonejs\Events

Code

public function getFile() {
  return $this->file;
}