You are here

public function PushNotificationsBroadcasterGcm::setTokens in Push Notifications 8

Setter function for tokens.

Parameters

$tokens:

Overrides PushNotificationsBroadcasterInterface::setTokens

File

src/PushNotificationsBroadcasterGcm.php, line 73
Contains \Drupal\push_notifications\PushNotificationsBroadcasterGcm.

Class

PushNotificationsBroadcasterGcm
Broadcasts Android messages.

Namespace

Drupal\push_notifications

Code

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