PHP Class Arkade\S3\Model\Store\Store\Plugin

Show file Open project: arkadedigital/magento2-s3

Public Methods

Method Description
afterGetBaseUrl ( Magento\Store\Model\Store $subject, string $result ) : string This plugin fixes a bug where Magento incorrectly appends two forward slashes to the media rewrite script. We remove one of those extra forward slashes.

Method Details

afterGetBaseUrl() public method

This plugin fixes a bug where Magento incorrectly appends two forward slashes to the media rewrite script. We remove one of those extra forward slashes.
public afterGetBaseUrl ( Magento\Store\Model\Store $subject, string $result ) : string
$subject Magento\Store\Model\Store
$result string
return string