You are here

public function PushNotificationsMessageSenderList::setTokens in Push Notifications 8

File

src/PushNotificationsMessageSenderList.php, line 35
Contains \Drupal\push_notifications\PushNotificationsMessageSenderList.

Class

PushNotificationsMessageSenderList
Send a simple message alert to a list of tokens. Use this if you want to preopulate the list of tokens.

Namespace

Drupal\push_notifications

Code

public function setTokens($tokens) {
  $this->tokens = $tokens;
}