protected function AmazonSesTestForm::setCurrentUser in Amazon SES 2.0.x
Set the current user.
Parameters
\Drupal\Core\Session\AccountProxyInterface $current_user: The current user.
Return value
$this
File
- src/
Form/ AmazonSesTestForm.php, line 72
Class
- AmazonSesTestForm
- Amazon SES test form.
Namespace
Drupal\amazon_ses\FormCode
protected function setCurrentUser(AccountProxyInterface $current_user) {
$this->currentUser = $current_user;
return $this;
}