public function SubscriptionInterface::setEmail in Mailing List 8
Set the email address of this subscription.
Parameters
string $email: The new email address.
1 method overrides SubscriptionInterface::setEmail()
- Subscription::setEmail in src/
Entity/ Subscription.php - Set the email address of this subscription.
File
- src/
SubscriptionInterface.php, line 115
Class
- SubscriptionInterface
- Provides an interface defining a subscription entity.
Namespace
Drupal\mailing_listCode
public function setEmail($email);