You are here

public function DeliveryCandidate::setNotifiers in Message Subscribe 8

Sets the notifier IDs.

Parameters

string[] $notifier_ids: An array of notifier IDs.

Return value

static Return the object.

Overrides DeliveryCandidateInterface::setNotifiers

File

src/Subscribers/DeliveryCandidate.php, line 104

Class

DeliveryCandidate
A delivery candidate implementation.

Namespace

Drupal\message_subscribe\Subscribers

Code

public function setNotifiers(array $notifier_ids) {
  $this->notifiers = array_combine($notifier_ids, $notifier_ids);
  return $this;
}