Change record status: 
Project: 
Introduced in branch: 
8.8.x
Introduced in version: 
8.8.0
Description: 

An additional getOriginalState method has been added to both the content_moderation.moderation_information service and the \Drupal\content_moderation\ModerationInformationInterface interface.

The purpose of this method is to provide the saved moderation state of an entity revision or translation, before changes were made to that entity. The method will fall back to providing a reasonable default moderation state (draft or published) depending on the published status of the entity, if the entity has not been moderated before.

This is useful in some scenarios where an entity has been modified, in preparation for saving a new revision and access to the previous moderation state is required.

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done