You are here

public function DeliveryCandidate::addNotifier in Message Subscribe 8

Adds a notifier.

Parameters

string $notifier_id: The notifier ID to add.

Return value

static Return the object.

Overrides DeliveryCandidateInterface::addNotifier

File

src/Subscribers/DeliveryCandidate.php, line 66

Class

DeliveryCandidate
A delivery candidate implementation.

Namespace

Drupal\message_subscribe\Subscribers

Code

public function addNotifier($notifier_id) {
  $this->notifiers[$notifier_id] = $notifier_id;
  return $this;
}