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