src/Controller/CRUDController.php
final protected function redirectToList()
    {
        $parameters = [];

        if ($filter = $this->admin->getFilterParameters()) {
            $parameters['filter'] = $filter;
        }

        return $this->redirect($this->admin->generateUrl('list', $parameters));
    }
final protected function redirectToList()
    {
        $parameters = [];

        if ($filter = $this->admin->getFilterParameters()) {
            $parameters['filter'] = $filter;
        }

        return $this->redirect($this->admin->generateUrl('list', $parameters));
    }
final protected function redirectToList ( ) { $ parameters = [ ] ; if ( $ filter = $ this -> admin -> getFilterParameters ( ) ) { $ parameters [ 'filter' ] = $ filter ; } return $ this -> redirect ( $ this -> admin -> generateUrl ( 'list' , $ parameters ) ) ; }
Redirects the user to the list view.

@return RedirectResponse
Redirects the user to the list view .