def METHOD_NAME(self, text):
    """Change blending mode on the layer model.
    Parameters
    ----------
    text : str
        Name of blending mode, eg: 'translucent', 'additive', 'opaque'.
    """
    self.layer.blending = self.blendComboBox.currentData()
    # opaque and minimum blending do not support changing alpha
    self.opacitySlider.setEnabled(
        self.layer.blending not in NO_OPACITY_BLENDING_MODES
    )
    self.opacityLabel.setEnabled(
        self.layer.blending not in NO_OPACITY_BLENDING_MODES
    )
    blending_tooltip = ''
    if self.layer.blending == str(Blending.MINIMUM):
        blending_tooltip = trans._(
            '`minimum` blending mode works best with inverted colormaps with a white background.',
        )
    self.blendComboBox.setToolTip(blending_tooltip)
    self.layer.help = blending_tooltip