You are here

function _firebase_buildHeaders in Firebase Push Notification (FCM) 7

Builds the push notification header.

1 call to _firebase_buildHeaders()
_firebase_sendPushNotification in ./firebase.module
Execute the push notification.

File

./firebase.module, line 150

Code

function _firebase_buildHeaders() {
  return array(
    'Content-Type: application/json',
    'Authorization: key=' . variable_get('firebase_server_key', ''),
  );
}