function FieldFormValidationErrorsCommand::__construct
Same name in other branches
- 8.9.x 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 18
Class
- FieldFormValidationErrorsCommand
- Passes validation errors when saving a form field failed.
Namespace
Drupal\quickedit\AjaxCode
public function __construct($data) {
parent::__construct('quickeditFieldFormValidationErrors', $data);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.