You are here

public function PushNotificationsMessageSenderAccounts::setAccounts in Push Notifications 8

Setter function for accounts.

Parameters

array $accounts: Account objects.

File

src/PushNotificationsMessageSenderAccounts.php, line 37
Contains \Drupal\push_notifications\PushNotificationsMessageSenderAccounts.

Class

PushNotificationsMessageSenderAccounts
Send a simple message alert to a list of tokens..

Namespace

Drupal\push_notifications

Code

public function setAccounts($accounts) {
  $this->accounts = $accounts;
}