netzmacht / contao-workflow-notification
Contao workflow notification
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Type:contao-module
Requires
- php: ~5.4
- contao-community-alliance/composer-plugin: ~2.0
- contao-community-alliance/dependency-container: ~1.6
- contao-community-alliance/event-dispatcher: ~1.3
- contao/core: >=3.1,<3.5
- netzmacht/contao-toolkit: ~1.0
- netzmacht/contao-workflow: ~1.0
- terminal42/notification_center: ~1.0
Requires (Dev)
- netzmacht/contao-build-tools: dev-master
This package is auto-updated.
Last update: 2020-02-05 23:15:31 UTC
README
This extension provides the notification center integration
for the Contao workflow extension. It ships with a predefined
workflow_notification
workflow type and a notification workflow action.
Install
You can install this extension via Composer:
$ php composer.phar require netzmacht/contao-workflow-notification:~1.0
Usage
- Create and configure a notification of the type
workflow_notification
. See the documentation of the notification center for more details. - Create a
Notification action
for your workflow transition and select the created notification. - Enjoy it.
Customization
The notification action supports all notification types which begins with workflow_
. So you are free to create your
custom notifications with custom tokens.
Have a look for the workflow.notification.prepare-tokens
event to adjust the generated tokens.