public function SubscriberInterface::fillFromAccount in Simplenews 8
Same name and namespace in other branches
- 8.2 src/SubscriberInterface.php \Drupal\simplenews\SubscriberInterface::fillFromAccount()
- 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\simplenewsCode
public function fillFromAccount(AccountInterface $account);