AJAX command to indicate a field form was attempted to be saved but failed validation and pass the validation errors.
Expanded class hierarchy of FieldFormValidationErrorsCommand
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('editFieldFormValidationErrors', $data);
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseCommand:: |
protected | property | The name of the command. | |
BaseCommand:: |
protected | property | The data to pass on to the client side. | |
BaseCommand:: |
public | function |
Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface:: |
|
FieldFormValidationErrorsCommand:: |
public | function |
Constructs a FieldFormValidationErrorsCommand object. Overrides BaseCommand:: |