You are here

public function SubscriberInterface::setStatus in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/SubscriberInterface.php \Drupal\simplenews\SubscriberInterface::setStatus()
  2. 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\simplenews

Code

public function setStatus($status);