public function getSwitchUrl()
    {
        if ($url = $this->getData('switch_url')) {
            return $url;
        }

        return $this->getUrl(
            '*/*/*',
            [
                '_current'                    => true,
                $this->getStoreVarName()      => null,
                $this->getStoreGroupVarName() => null,
                $this->getContainerVarName()  => null,
            ]
        );
    }
public function getSwitchUrl()
    {
        if ($url = $this->getData('switch_url')) {
            return $url;
        }

        return $this->getUrl(
            '*/*/*',
            [
                '_current'                    => true,
                $this->getStoreVarName()      => null,
                $this->getStoreGroupVarName() => null,
                $this->getContainerVarName()  => null,
            ]
        );
    }
public function getSwitchUrl ( ) { if ( $ url = $ this -> getData ( 'switch_url' ) ) { return $ url ; } return $ this -> getUrl ( '*/*/*' , [ '_current' => true , $ this -> getStoreVarName ( ) => null , $ this -> getStoreGroupVarName ( ) => null , $ this -> getContainerVarName ( ) => null , ] ) ; }
Retrieve switch url

@return string
Retrieve switch url