function EntitySavedCommand::__construct

Same name in other branches
  1. 8.9.x core/modules/quickedit/src/Ajax/EntitySavedCommand.php \Drupal\quickedit\Ajax\EntitySavedCommand::__construct()

Constructs an EntitySaveCommand object.

Parameters

string $data: The data to pass on to the client side.

Overrides BaseCommand::__construct

File

core/modules/quickedit/src/Ajax/EntitySavedCommand.php, line 18

Class

EntitySavedCommand
Indicates the entity was loaded from PrivateTempStore and saved.

Namespace

Drupal\quickedit\Ajax

Code

public function __construct($data) {
    parent::__construct('quickeditEntitySaved', $data);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.