FieldFormSavedCommand
class FieldFormSavedCommand extends BaseCommand (View source)
AJAX command to indicate a field was saved into PrivateTempStore without validation errors and pass the rerendered field to Quick Edit's JavaScript app.
Properties
| protected string | $command | The name of the command. |
from BaseCommand |
| protected string | $data | The data to pass on to the client side. |
from BaseCommand |
| protected array | $other_view_modes | The same re-rendered edited field, but in different view modes. |
Methods
__construct(string $data, array $other_view_modes = [])
Constructs a FieldFormSavedCommand object.
render()
Return an array to be run through json_encode and sent to the client.
Details
__construct(string $data, array $other_view_modes = [])
Constructs a FieldFormSavedCommand object.
render()
Return an array to be run through json_encode and sent to the client.