src/View/Helper/LessHelper.php
protected function _normalizePlgAssetUrl($path)
    {
        $details = explode('/', $path, 3);
        $pluginName = Inflector::camelize(trim($details[0], '/'));

        if (Plugin::loaded($pluginName)) {
            unset($details[0]);
            $source = $pluginName . '.' . ltrim(implode('/', $details), '/');
            return $this->_getAssetUrl($source);
        }

        return $this->_getAssetUrl($path);
    }
protected function _normalizePlgAssetUrl($path)
    {
        $details = explode('/', $path, 3);
        $pluginName = Inflector::camelize(trim($details[0], '/'));

        if (Plugin::loaded($pluginName)) {
            unset($details[0]);
            $source = $pluginName . '.' . ltrim(implode('/', $details), '/');
            return $this->_getAssetUrl($source);
        }

        return $this->_getAssetUrl($path);
    }
protected function _normalizePlgAssetUrl ( $ path ) { $ details = explode ( '/' , $ path , 3 ) ; $ pluginName = Inflector :: camelize ( trim ( $ details [ 0 ] , '/' ) ) ; if ( Plugin :: loaded ( $ pluginName ) ) { unset ( $ details [ 0 ] ) ; $ source = $ pluginName . '.' . ltrim ( implode ( '/' , $ details ) , '/' ) ; return $ this -> _getAssetUrl ( $ source ) ; } return $ this -> _getAssetUrl ( $ path ) ; }
Normalize plugin asset url.

@param string $path
@return string
Normalize plugin asset url .