You are here

protected function DropzoneJsEbWidget::setToken in DropzoneJS 8.2

Set the token service.

Parameters

\Drupal\Core\Utility\Token $token: The token service.

File

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

Class

DropzoneJsEbWidget
Provides an Entity Browser widget that uploads new files.

Namespace

Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget

Code

protected function setToken(Token $token) {
  $this->token = $token;
}