src/CoreBundle/EventListener/DcGeneral/Table/FilterSetting/AbstractFilterSettingTypeRenderer.php
private function updateImageWithDisabled(ModelInterface $model, $image)
    {
        $this->preCreateInverseImage($model, $image);

        if ($model->getProperty('enabled')) {
            return $image;
        }
        if (false === $intPos = strrpos($image, '.')) {
            return $image;
        }

        return substr_replace($image, '_1', $intPos, 0);
    }
private function updateImageWithDisabled(ModelInterface $model, $image)
    {
        $this->preCreateInverseImage($model, $image);

        if ($model->getProperty('enabled')) {
            return $image;
        }
        if (false === $intPos = strrpos($image, '.')) {
            return $image;
        }

        return substr_replace($image, '_1', $intPos, 0);
    }
Add the '_1' suffix to the image if it is disabled.

@param ModelInterface $model The model.
@param string         $image The image to alter.

@return mixed