You are here

public function DropzoneMediaEntityCreateEvent::getMediaEntity in DropzoneJS 8

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

Get the media entity.

Return value

\Drupal\media_entity\MediaInterface A media entity.

File

src/Events/DropzoneMediaEntityCreateEvent.php, line 78

Class

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

Namespace

Drupal\dropzonejs\Events

Code

public function getMediaEntity() {
  return $this->mediaEntity;
}