aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/WorkflowEngine/EntityContext/IIcon.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/WorkflowEngine/EntityContext/IIcon.php')
-rw-r--r--lib/public/WorkflowEngine/EntityContext/IIcon.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/EntityContext/IIcon.php b/lib/public/WorkflowEngine/EntityContext/IIcon.php
new file mode 100644
index 00000000000..c019cda3cf6
--- /dev/null
+++ b/lib/public/WorkflowEngine/EntityContext/IIcon.php
@@ -0,0 +1,25 @@
+<?php
+
+declare(strict_types=1);
+
+/**
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OCP\WorkflowEngine\EntityContext;
+
+/**
+ * Interface IIcon
+ *
+ *
+ * @since 18.0.0
+ */
+interface IIcon {
+ /**
+ * returns a URL to an icon that is related to the entity, for instance
+ * a group icon for groups.
+ *
+ * @since 18.0.0
+ */
+ public function getIconUrl(): string;
+}