You are here

public function FieldFormValidationErrorsCommand::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/quickedit/src/Ajax/FieldFormValidationErrorsCommand.php \Drupal\quickedit\Ajax\FieldFormValidationErrorsCommand::__construct()

Constructs a FieldFormValidationErrorsCommand object.

Parameters

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

Overrides BaseCommand::__construct

File

core/modules/quickedit/src/Ajax/FieldFormValidationErrorsCommand.php, line 19

Class

FieldFormValidationErrorsCommand
AJAX command to indicate a field form was attempted to be saved but failed validation and pass the validation errors.

Namespace

Drupal\quickedit\Ajax

Code

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