You are here

EntitySavedCommand.php in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/quickedit/src/Ajax/EntitySavedCommand.php

File

core/modules/quickedit/src/Ajax/EntitySavedCommand.php
View source
<?php

/**
 * @file
 * Contains \Drupal\quickedit\Ajax\EntitySavedCommand.
 */
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);
  }

}

Classes

Namesort descending Description
EntitySavedCommand AJAX command to indicate the entity was loaded from PrivateTempStore and saved into the database.