AJAX command to indicate a field form was saved without validation errors and pass the rerendered field to Edit's JavaScript app.
Expanded class hierarchy of FieldFormSavedCommand
class FieldFormSavedCommand extends BaseCommand {
/**
* Constructs a FieldFormSavedCommand object.
*
* @param string $data
* The data to pass on to the client side.
*/
public function __construct($data) {
parent::__construct('editFieldFormSaved', $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:: |
|
FieldFormSavedCommand:: |
public | function |
Constructs a FieldFormSavedCommand object. Overrides BaseCommand:: |