Firebase Notification for node publish hook in D8

by Sam   Last Updated December 22, 2017 14:07 PM

I want to call a custom module when a node is published in Drupal 8. This module will call Firebase Push Notification service using CURL to send push notification. Is there any event/hook for node publish state?

Also how can I fetch current published node title, path and field_image, so that I can pass them to Firebase for notification.



Related Questions




PHP cURL retrieving wrong info on Drupal files

Updated September 09, 2016 09:03 AM

cURL error (60) SSL certificate problem

Updated December 09, 2016 08:03 AM

Php - get favicon from external site programatically

Updated August 24, 2018 09:07 AM