FieldFormValidationErrorsCommand.php

Same filename in other branches
  1. 8.9.x core/modules/quickedit/src/Ajax/FieldFormValidationErrorsCommand.php

Namespace

Drupal\quickedit\Ajax

File

core/modules/quickedit/src/Ajax/FieldFormValidationErrorsCommand.php

View source
<?php

namespace Drupal\quickedit\Ajax;

use Drupal\Core\Ajax\BaseCommand;

/**
 * Passes validation errors when saving a form field failed.
 */
class FieldFormValidationErrorsCommand extends BaseCommand {
    
    /**
     * Constructs a FieldFormValidationErrorsCommand object.
     *
     * @param string $data
     *   The data to pass on to the client side.
     */
    public function __construct($data) {
        parent::__construct('quickeditFieldFormValidationErrors', $data);
    }

}

Classes

Title Deprecated Summary
FieldFormValidationErrorsCommand Passes validation errors when saving a form field failed.

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