Revision Revert
revision_revertRevert a Drupal entity to a specific revision by applying that revision's field values to the current version; failed updates leave the entity unchanged.
Instructions
Revert an entity to a specific revision.
Applies the revision's field values to the current entity. A PATCH that Drupal rejects is atomic, so a failure leaves the entity untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| entity_type | Yes | ||
| revision_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||