You are here

public function SubscriberInterface::fillFromAccount in Simplenews 8

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

Fill values from a user account.

Parameters

\Drupal\Core\Session\AccountInterface $account:

Return value

$this

1 method overrides SubscriberInterface::fillFromAccount()
Subscriber::fillFromAccount in src/Entity/Subscriber.php
Fill values from a user account.

File

src/SubscriberInterface.php, line 104

Class

SubscriberInterface
Provides an interface defining a contant message entity

Namespace

Drupal\simplenews

Code

public function fillFromAccount(AccountInterface $account);