You are here

function push_notifications_get_networks in Push Notifications 8

Get available networks.

2 calls to push_notifications_get_networks()
PushNotificationsDispatcher::__construct in src/PushNotificationsDispatcher.php
Constructor.
PushNotificationsMessageSenderBase::setNetworks in src/PushNotificationsMessageSenderBase.php
Setter functions for networks.

File

./push_notifications.module, line 61
Contains push_notifications.module functionality.

Code

function push_notifications_get_networks() {
  return array(
    PUSH_NOTIFICATIONS_NETWORK_ID_IOS,
    PUSH_NOTIFICATIONS_NETWORK_ID_ANDROID,
  );
}