You are here

public function PushNotificationsBroadcasterGcm::getResults in Push Notifications 8

Get the results of a batch.

Overrides PushNotificationsBroadcasterInterface::getResults

File

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

Class

PushNotificationsBroadcasterGcm
Broadcasts Android messages.

Namespace

Drupal\push_notifications

Code

public function getResults() {
  return array(
    'network' => PUSH_NOTIFICATIONS_NETWORK_ID_ANDROID,
    'payload' => $this->payload,
    'count_attempted' => $this->countAttempted,
    'count_success' => $this->countSuccess,
    'success' => $this->success,
  );
}