You are here

public function DeliveryCandidate::setFlags in Message Subscribe 8

Sets the flags.

Parameters

array $flag_ids: An array of flag IDs.

Return value

static Return the object.

Overrides DeliveryCandidateInterface::setFlags

File

src/Subscribers/DeliveryCandidate.php, line 89

Class

DeliveryCandidate
A delivery candidate implementation.

Namespace

Drupal\message_subscribe\Subscribers

Code

public function setFlags(array $flag_ids) {
  $this->flags = array_combine($flag_ids, $flag_ids);
  return $this;
}