removeVariant(mPropertyBag) {
			setAdaptationIdInPropertyBag(mPropertyBag);
			return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.removeVariant);
		}
Removes a variant; this may result in an deletion of the variant or the creation of a change.

@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 removed
@param {string} mPropertyBag.id - ID of the variant
@param {sap.ui.fl.Layer} mPropertyBag.layer - Layer in which the variant removal takes place;
this either removes the variant from the layer or writes a change to that layer.
@returns {sap.ui.fl.apply._internal.flexObjects.CompVariant} The removed variant
@private
@ui5-restricted sap.ui.rta.command