Version 1
[yaffs-website] / web / core / modules / quickedit / src / Ajax / EntitySavedCommand.php
diff --git a/web/core/modules/quickedit/src/Ajax/EntitySavedCommand.php b/web/core/modules/quickedit/src/Ajax/EntitySavedCommand.php
new file mode 100644 (file)
index 0000000..1dcd6d0
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+namespace Drupal\quickedit\Ajax;
+
+use Drupal\Core\Ajax\BaseCommand;
+
+/**
+ * AJAX command to indicate the entity was loaded from PrivateTempStore and
+ * saved into the database.
+ */
+class EntitySavedCommand extends BaseCommand {
+
+  /**
+   * Constructs a EntitySaveCommand object.
+   *
+   * @param string $data
+   *   The data to pass on to the client side.
+   */
+  public function __construct($data) {
+    parent::__construct('quickeditEntitySaved', $data);
+  }
+
+}