Event-Katalog
Überblick
Die Ereignisse, auf die ein Plugin sich hängen kann.
Ein Plugin kann auf zwei Arten an einem Kernvorgang teilnehmen. Reagieren: ein Domänen-Ereignis wird nach der Änderung ausgeliefert — daran hängen Audit-Spur und Automatisierungen. Widersprechen: ein Veto-Ereignis wird vor der Änderung ausgeliefert und kann sie mit Begründung ablehnen. Genau dafür gibt es die zweite Art: eine Freigaberegel, die erst nach dem Speichern greift, ist keine Freigaberegel.
Veto-Ereignisse
Diese 32 Ereignisse sind als Vertrag eingefroren: ihre Signatur ändert sich nicht ohne einen Bruch der Vertragsversion. Ein Widerspruch wird dem Aufrufer als Ablehnung mit Begründung gemeldet, nicht als Fehler.
| Ereignis |
|---|
App\Platform\Auth\Event\MembershipChanging |
App\Platform\Auth\Event\RolePermissionsChanging |
App\Platform\Automation\Event\AutomationActivating |
App\Platform\Commerce\Event\DocumentConverting |
App\Platform\Commerce\Event\NumberSchemeChanging |
App\Platform\Commerce\Event\PaymentRecording |
App\Platform\Communication\Event\CommunicationSending |
App\Platform\CustomField\Event\CustomFieldDefinitionChanging |
App\Platform\Customer\Event\ContactDeleting |
App\Platform\Customer\Event\ContactMerging |
App\Platform\Customer\Event\ContactMutating |
App\Platform\Customer\Event\CustomerDeleting |
App\Platform\Customer\Event\CustomerMerging |
App\Platform\Customer\Event\CustomerMutating |
App\Platform\DSGVO\Event\DataRequestDeciding |
App\Platform\File\Event\FileDeleting |
App\Platform\File\Event\FileUploading |
App\Platform\Integration\Event\IntegrationTargetMutating |
App\Platform\Integration\Event\WebhookTargetMutating |
App\Platform\Mail\Event\SystemMailSending |
App\Platform\Plugin\Event\PluginLifecycleChanging |
App\Platform\Setting\Event\FeatureFlagChanging |
App\Platform\Setting\Event\LookupCatalogChanging |
App\Platform\Setting\Event\SettingChanging |
App\Shared\Event\VetoableEvent |
App\WorkItem\Event\WorkItemCommentPosting |
App\WorkItem\Event\WorkItemCreating |
App\WorkItem\Event\WorkItemStatusChanging |
Octi\Plugin\Hr\Event\AbsencePeriodMutating |
Octi\Plugin\Invoicing\Event\DunningTransitioning |
Octi\Plugin\Invoicing\Event\InvoiceIssuing |
Octi\Plugin\SalesOrder\Event\OrderConfirming |
Die Ereignisse zum Reagieren sind zu zahlreich für eine Seite und ändern sich mit jedem Modul. Ihr vollständiger, maschinell erzeugter Katalog liegt im Entwickler-Paket unter docs/plugin-events.md.