public function SubscriberInterface::setMail in Simplenews 8
Same name and namespace in other branches
- 8.2 src/SubscriberInterface.php \Drupal\simplenews\SubscriberInterface::setMail()
- 3.x src/SubscriberInterface.php \Drupal\simplenews\SubscriberInterface::setMail()
Sets the subscribers email address.
Parameters
string $mail: The subscribers email address.
1 method overrides SubscriberInterface::setMail()
- Subscriber::setMail in src/
Entity/ Subscriber.php - Sets the subscribers email address.
File
- src/
SubscriberInterface.php, line 54
Class
- SubscriberInterface
- Provides an interface defining a contant message entity
Namespace
Drupal\simplenewsCode
public function setMail($mail);