diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-09 14:24:48 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 23:56:01 +0300 |
commit | 804d4fe69feb1853846ad7a4b92f01cc637daf71 (patch) | |
tree | 94bf50f1c1cdde15a823cf6ab699b697bef4b521 /lib/public/WorkflowEngine/IManager.php | |
parent | 9a6f7cc8cb5aef8d0c9dfb29fbed4a02e331e647 (diff) |
introducing Entity interfaces and a File one as first implementation
also adds admin settings that pass entities as initial state
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/WorkflowEngine/IManager.php')
-rw-r--r-- | lib/public/WorkflowEngine/IManager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php index cd323a816f3..33a1dd1bb6c 100644 --- a/lib/public/WorkflowEngine/IManager.php +++ b/lib/public/WorkflowEngine/IManager.php @@ -47,4 +47,12 @@ interface IManager { * @since 9.1 */ public function getMatchingOperations($class, $returnFirstMatchingOperationOnly = true); + + /** + * Listen to 'OCP/WorkflowEngine::registerEntities' at the EventDispatcher + * for registering your entities + * + * @since 18.0.0 + */ + public function registerEntity(IEntity $entity): void; } |