Webhook

Component ID

2086637

Component name

Webhook

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1833

Component created

Component changed

Component body

Webhook is designed to make it easy for Drupal to handle webhook callbacks in a modular and flexible way.

Depedencies

Features

Yes! This module supports features. All webhooks are exportable.

Extending

Webhook uses CTools plugins, which means it is easy to extend it to suit your needs. The webhook_example project includes example plugins for handling a github callback and logging with watchdog.

Unserializer

These plugins handle unserializing the data submitted ot the webhook. The WebhookPluginsUnserializer_Interface defines the interface for creating a new unserializer.

Processor

These plugins process the data that has been submitted. WebhookPluginsProcessor_Interface defines the interface for creating a processor. The config form isn't currently used.

The webhook_example sub module demonstrates logging github commit callbacks in watchdog.