Files
piratepoet/mailpoet/lib/Automation/Engine/Hooks.php
Jan Jakes a191c691f5 Add hook and basic handler for automation triggers
For now trigger keys are stored in the workflow as a JSON array.
This is not optimal in case someone has many workflows but as
workflows are user-created it's unlinkely someone will have thousands
of them. We can consider adding a workflow_triggers table as well.

[MAILPOET-4136]
2022-03-14 09:36:21 +01:00

9 lines
207 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine;
class Hooks {
public const INITIALIZE = 'mailpoet/automation/initialize';
public const TRIGGER = 'mailpoet/automation/trigger';
}