src/Contao/View/Contao2BackendView/ButtonRenderer.php
private function addToUrl($parameters)
    {
        /** @var AddToUrlEvent $urlAfter */
        $urlAfter = $this->eventDispatcher->dispatch(ContaoEvents::BACKEND_ADD_TO_URL, new AddToUrlEvent($parameters));

        return $urlAfter->getUrl();
    }
private function addToUrl($parameters)
    {
        /** @var AddToUrlEvent $urlAfter */
        $urlAfter = $this->eventDispatcher->dispatch(ContaoEvents::BACKEND_ADD_TO_URL, new AddToUrlEvent($parameters));

        return $urlAfter->getUrl();
    }
private function addToUrl ( $ parameters ) { /** @var AddToUrlEvent $urlAfter */ $ urlAfter = $ this -> eventDispatcher -> dispatch ( ContaoEvents :: BACKEND_ADD_TO_URL , new AddToUrlEvent ( $ parameters ) ) ; return $ urlAfter -> getUrl ( ) ; }
Add some url parameters to the current URL.

@param string $parameters The parameters to add.

@return string
Add some url parameters to the current URL .