Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.0
Description: 

Previously it was not possible to get original data out of TranslatableMarkup objects. To avoid adding yet one more way to package a source string with translation options to be taken apart later, we added methods on TranslatableMarkup to get the source data instead. TranslatableMarkup::getUntranslatedString() now returns the original source string. TranslatableMarkup::getOption($name) returns the value of the option requested (such as context or langcode). It will return an empty string if the option was not provided.

Impacts: 
Module developers