public function DropzoneMediaEntityCreateEvent::setFormState in DropzoneJS 8.2
Same name and namespace in other branches
- 8 src/Events/DropzoneMediaEntityCreateEvent.php \Drupal\dropzonejs\Events\DropzoneMediaEntityCreateEvent::setFormState()
Set the form state.
Parameters
\Drupal\Core\Form\FormStateInterface $form_state: The updated form state.
File
- src/
Events/ DropzoneMediaEntityCreateEvent.php, line 128
Class
- DropzoneMediaEntityCreateEvent
- Represents Media Entity creation as an event when using DropzoneJS.
Namespace
Drupal\dropzonejs\EventsCode
public function setFormState(FormStateInterface $form_state) {
$this->formState = $form_state;
}