You are here

public function DeliveryCandidate::removeFlag in Message Subscribe 8

Remove a flag.

Parameters

string $flag_id: The flag ID to remove.

Return value

static Return the object.

Overrides DeliveryCandidateInterface::removeFlag

File

src/Subscribers/DeliveryCandidate.php, line 58

Class

DeliveryCandidate
A delivery candidate implementation.

Namespace

Drupal\message_subscribe\Subscribers

Code

public function removeFlag($flag_id) {
  unset($this->flags[$flag_id]);
  return $this;
}