protected function ModuleConfigureForm::setCurrentUser in Thunder 6.0.x
Same name and namespace in other branches
- 8.5 src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::setCurrentUser()
- 6.2.x src/Installer/Form/ModuleConfigureForm.php \Drupal\thunder\Installer\Form\ModuleConfigureForm::setCurrentUser()
- 6.1.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\FormCode
protected function setCurrentUser(AccountProxyInterface $accountProxy) {
$this->currentUser = $accountProxy;
}