abstract public function PushNotificationsMessageSenderBase::generateTokens in Push Notifications 8
Generates the list of tokens required by each message sender class.
1 call to PushNotificationsMessageSenderBase::generateTokens()
- PushNotificationsMessageSenderBase::dispatch in src/
PushNotificationsMessageSenderBase.php - Dispatch an alert.
2 methods override PushNotificationsMessageSenderBase::generateTokens()
- PushNotificationsMessageSenderAccounts::generateTokens in src/
PushNotificationsMessageSenderAccounts.php - PushNotificationsMessageSenderList::generateTokens in src/
PushNotificationsMessageSenderList.php - Tokens don't need to be generated, but function required for abstract base class.
File
- src/
PushNotificationsMessageSenderBase.php, line 73 - Contains \Drupal\push_notifications\PushNotificationsMessageSenderBase.
Class
- PushNotificationsMessageSenderBase
- Handles sending of alerts.
Namespace
Drupal\push_notificationsCode
public abstract function generateTokens();