// '#\s+$#ms' => '',
];
return preg_replace(array_keys($expressions),
array_values($expressions),
$source);
} } if (!\
in_array($request->
getModuleName(),
['frontend', 'widgets'
], true
)) { return $args->
getReturn();
} $source =
$this->
filterUrls($source);
return $this->
filterSource($source);
} /**
* Initializes plugin config
*
* @throws Exception
*/
public function initConfig() { $shopConfig =
Shopware()->
Config();
self::
$baseFile =
$shopConfig->
get('baseFile'
);