You are here

protected function ModuleConfigureForm::setCurrentUser in Thunder 6.1.x

Same name and namespace in other branches
  1. 8.5 src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::setCurrentUser()
  2. 6.2.x src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::setCurrentUser()
  3. 6.0.x src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::setCurrentUser()

Set the current user.

Parameters

\Drupal\Core\Session\AccountProxyInterface $accountProxy: The current user.

File

src/Installer/Form/ModuleConfigureForm.php, line 120

Class

ModuleConfigureForm
Provides the site configuration form.

Namespace

Drupal\thunder\Installer\Form

Code

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