You are here

protected function DropzoneJsEbWidget::getUploadLocation 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::getUploadLocation()

Gets upload location.

Return value

string Destination folder URI.

2 calls to DropzoneJsEbWidget::getUploadLocation()
DropzoneJsEbWidget::getFiles in modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php
Gets uploaded files.
DropzoneJsEbWidget::validate in modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php

File

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

Class

DropzoneJsEbWidget
Provides an Entity Browser widget that uploads new files.

Namespace

Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget

Code

protected function getUploadLocation() {
  return $this->token
    ->replace($this->configuration['upload_location']);
}