discardVariantContent(mPropertyBag) {
			mPropertyBag.action = CompVariantState.updateActionType.DISCARD;
			return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.discardVariantContent);
		}
Discards the variant content to the original or last saved content.

@param {object} mPropertyBag - Object with parameters as properties
@param {string} mPropertyBag.reference - Flex reference of the application
@param {sap.ui.comp.smartvariants.SmartVariantManagement|
			sap.ui.comp.smartfilterbar.SmartFilterBar|
			sap.ui.comp.smarttable.SmartTable|
			sap.ui.comp.smartchart.SmartChart} mPropertyBag.control - Variant management control for which the variant should be updated
@param {string} mPropertyBag.id - ID of the variant
@param {sap.ui.fl.Layer} [mPropertyBag.layer] - Layer in which the save of variant content takes place
@returns {sap.ui.fl.apply._internal.flexObjects.CompVariant} The discarded variant
@private
@ui5-restricted sap.ui.rta.command