You are here

public function DeliveryCandidate::getFlags in Message Subscribe 8

Get the flags that triggered the subscription.

Return value

string[] An array of subscription flag IDs that triggered the notification.

Overrides DeliveryCandidateInterface::getFlags

File

src/Subscribers/DeliveryCandidate.php, line 82

Class

DeliveryCandidate
A delivery candidate implementation.

Namespace

Drupal\message_subscribe\Subscribers

Code

public function getFlags() {
  return array_unique($this->flags);
}