public function SamlauthUserLinkEvent::setLinkedAccount in SAML Authentication 8.3
Same name and namespace in other branches
- 8.2 src/Event/SamlauthUserLinkEvent.php \Drupal\samlauth\Event\SamlauthUserLinkEvent::setLinkedAccount()
- 4.x src/Event/SamlauthUserLinkEvent.php \Drupal\samlauth\Event\SamlauthUserLinkEvent::setLinkedAccount()
Sets the Drupal user account to link.
Parameters
\Drupal\user\UserInterface $account: The Drupal user account.
File
- src/
Event/ SamlauthUserLinkEvent.php, line 55
Class
- SamlauthUserLinkEvent
- Wraps a samlauth user link event for event listeners.
Namespace
Drupal\samlauth\EventCode
public function setLinkedAccount(UserInterface $account) {
$this->account = $account;
}