You are here

public function DropzoneJsEbWidget::prepareEntities in DropzoneJS 8.2

Same name and namespace in other branches
  1. 8 modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php \Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget\DropzoneJsEbWidget::prepareEntities()
2 calls to DropzoneJsEbWidget::prepareEntities()
DropzoneJsEbWidget::submit in modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php
MediaEntityDropzoneJsEbWidget::prepareEntities in modules/eb_widget/src/Plugin/EntityBrowser/Widget/MediaEntityDropzoneJsEbWidget.php
1 method overrides DropzoneJsEbWidget::prepareEntities()
MediaEntityDropzoneJsEbWidget::prepareEntities in modules/eb_widget/src/Plugin/EntityBrowser/Widget/MediaEntityDropzoneJsEbWidget.php

File

modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php, line 210

Class

DropzoneJsEbWidget
Provides an Entity Browser widget that uploads new files.

Namespace

Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget

Code

public function prepareEntities(array $form, FormStateInterface $form_state) {
  return $this
    ->getFiles($form, $form_state);
}