You are here

protected function DropzoneJsEbWidget::setCurrentUser in DropzoneJS 8.2

Set the current user service.

Parameters

\Drupal\Core\Session\AccountProxyInterface $currentUser: The current user service.

File

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

Class

DropzoneJsEbWidget
Provides an Entity Browser widget that uploads new files.

Namespace

Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget

Code

protected function setCurrentUser(AccountProxyInterface $currentUser) {
  $this->currentUser = $currentUser;
}