kgaut / pushover
Pushover integration
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 2
Open Issues: 1
Type:drupal-module
This package is auto-updated.
Last update: 2024-10-28 21:51:04 UTC
README
This is a Drupal 8 and 9 module that allows you to send push notification through Pushover service.
Code Sample
Signature
\Drupal::service('pushover.sender')->sendNotification($title, $message, $url = NULL, $url_title = NULL);
Simple example
\Drupal::service('pushover.sender')->sendNotification('Test config', 'Hello world !');
Full example
\Drupal::service('pushover.sender')->sendNotification($title, $description, $url, $url_label);
Module download
This module is not (yet ?) on drupal.org, but you can download it with composer :
composer config repositories.drupal-pushover vcs https://github.com/kgaut/drupal-pushover
composer require drupal/pushover