summaryrefslogtreecommitdiffstats
path: root/lib/public/WorkflowEngine/IManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/WorkflowEngine/IManager.php')
-rw-r--r--lib/public/WorkflowEngine/IManager.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php
index c05459e1fb4..6d4bacc8e17 100644
--- a/lib/public/WorkflowEngine/IManager.php
+++ b/lib/public/WorkflowEngine/IManager.php
@@ -59,4 +59,12 @@ interface IManager {
* @since 18.0.0
*/
public function registerEntity(IEntity $entity): void;
+
+ /**
+ * Listen to 'OCP/WorkflowEngine::registerOperators' at the EventDispatcher
+ * for registering your operators
+ *
+ * @since 18.0.0
+ */
+ public function registerOperator(IOperator $operator): void;
}