3 namespace Drupal\quickedit\Ajax;
5 use Drupal\Core\Ajax\BaseCommand;
8 * AJAX command to indicate a field form was attempted to be saved but failed
9 * validation and pass the validation errors.
11 class FieldFormValidationErrorsCommand extends BaseCommand {
14 * Constructs a FieldFormValidationErrorsCommand object.
17 * The data to pass on to the client side.
19 public function __construct($data) {
20 parent::__construct('quickeditFieldFormValidationErrors', $data);