You are here

public function DropzoneMediaEntityCreateEvent::setElement in DropzoneJS 8.2

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

Set the Dropzone form element.

Parameters

array $element: The updated form element.

File

src/Events/DropzoneMediaEntityCreateEvent.php, line 148

Class

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

Namespace

Drupal\dropzonejs\Events

Code

public function setElement(array $element) {
  $this->element = $element;
}