public function DeliveryCandidate::addFlag in Message Subscribe 8
Adds a flag.
Parameters
string $flag_id: The flag ID to add.
Return value
static Return the object.
Overrides DeliveryCandidateInterface::addFlag
File
- src/
Subscribers/ DeliveryCandidate.php, line 50
Class
- DeliveryCandidate
- A delivery candidate implementation.
Namespace
Drupal\message_subscribe\SubscribersCode
public function addFlag($flag_id) {
$this->flags[$flag_id] = $flag_id;
return $this;
}