Bundle/WidgetBundle/Twig/LinkExtension.php
public function isVicLinkActive(Link $link)
    {
        return $this->request && ($this->request->getRequestUri() == $this->victoireLinkUrl($link->getParameters(), false));
    }
public function isVicLinkActive(Link $link)
    {
        return $this->request && ($this->request->getRequestUri() == $this->victoireLinkUrl($link->getParameters(), false));
    }
public function isVicLinkActive ( Link $ link ) { return $ this -> request && ( $ this -> request -> getRequestUri ( ) == $ this -> victoireLinkUrl ( $ link -> getParameters ( ) , false ) ) ; }
Check if a given Link is active for current request.

@param Link $link

@return bool
Check if a given Link is active for current request .