You are here

public function DeliveryCandidate::removeNotifier in Message Subscribe 8

Remove a notifier.

Parameters

string $notifier_id: The notifier ID to remove.

Return value

static Return the object.

Overrides DeliveryCandidateInterface::removeNotifier

File

src/Subscribers/DeliveryCandidate.php, line 74

Class

DeliveryCandidate
A delivery candidate implementation.

Namespace

Drupal\message_subscribe\Subscribers

Code

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