Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / workspaces / src / WorkspacePublisherInterface.php
diff --git a/web/core/modules/workspaces/src/WorkspacePublisherInterface.php b/web/core/modules/workspaces/src/WorkspacePublisherInterface.php
new file mode 100644 (file)
index 0000000..edbeb18
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+
+namespace Drupal\workspaces;
+
+/**
+ * Defines an interface for the workspace publisher.
+ *
+ * @internal
+ */
+interface WorkspacePublisherInterface extends WorkspaceOperationInterface {
+
+  /**
+   * Publishes the contents of a workspace to the default (Live) workspace.
+   */
+  public function publish();
+
+}