public function FieldFormSavedCommand::__construct

Constructs a FieldFormSavedCommand object.

Parameters

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

Overrides BaseCommand::__construct

File

drupal/core/modules/edit/lib/Drupal/edit/Ajax/FieldFormSavedCommand.php, line 24
Contains \Drupal\edit\Ajax\FieldFormSavedCommand.

Class

FieldFormSavedCommand
AJAX command to indicate a field form was saved without validation errors and pass the rerendered field to Edit's JavaScript app.

Namespace

Drupal\edit\Ajax

Code

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