You are here

public function SubscriberInterface::copyToAccount in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 src/SubscriberInterface.php \Drupal\simplenews\SubscriberInterface::copyToAccount()

Copy values to a user account.

Parameters

\Drupal\Core\Session\AccountInterface $account: The account to copy to.

1 method overrides SubscriberInterface::copyToAccount()
Subscriber::copyToAccount in src/Entity/Subscriber.php
Copy values to a user account.

File

src/SubscriberInterface.php, line 104

Class

SubscriberInterface
Simplenews subscriber entity interface.

Namespace

Drupal\simplenews

Code

public function copyToAccount(AccountInterface $account);