AJAX command to indicate a field was saved into PrivateTempStore without validation errors and pass the rerendered field to Quick Edit's JavaScript app.
Hierarchy
- class \Drupal\Core\Ajax\BaseCommand implements CommandInterface
- class \Drupal\quickedit\Ajax\FieldFormSavedCommand
File
- core/modules/quickedit/src/Ajax/FieldFormSavedCommand.php, line 12
Namespace
Drupal\quickedit\Ajax
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| BaseCommand::$command | protected | property | The name of the command. |
| BaseCommand::$data | protected | property | The data to pass on to the client side. |
| FieldFormSavedCommand::$other_view_modes | protected | property | The same re-rendered edited field, but in different view modes. |
| FieldFormSavedCommand::render | public | function | Return an array to be run through json_encode and sent to the client. Overrides BaseCommand::render |
| FieldFormSavedCommand::__construct | public | function | Constructs a FieldFormSavedCommand object. Overrides BaseCommand::__construct |
Please login to continue.