Controller/TranslationController.php
public function gridAction()
    {
        $tokens = null;
        if ($this->container->getParameter('lexik_translation.dev_tools.enable')) {
            $tokens = $this->get('lexik_translation.token_finder')->find();
        }

        return $this->render('@LexikTranslation/Translation/grid.html.twig', array(
            'layout'         => $this->container->getParameter('lexik_translation.base_layout'),
            'inputType'      => $this->container->getParameter('lexik_translation.grid_input_type'),
            'autoCacheClean' => $this->container->getParameter('lexik_translation.auto_cache_clean'),
            'toggleSimilar'  => $this->container->getParameter('lexik_translation.grid_toggle_similar'),
            'locales'        => $this->getManagedLocales(),
            'tokens'         => $tokens,
        ));
    }
public function gridAction()
    {
        $tokens = null;
        if ($this->container->getParameter('lexik_translation.dev_tools.enable')) {
            $tokens = $this->get('lexik_translation.token_finder')->find();
        }

        return $this->render('@LexikTranslation/Translation/grid.html.twig', array(
            'layout'         => $this->container->getParameter('lexik_translation.base_layout'),
            'inputType'      => $this->container->getParameter('lexik_translation.grid_input_type'),
            'autoCacheClean' => $this->container->getParameter('lexik_translation.auto_cache_clean'),
            'toggleSimilar'  => $this->container->getParameter('lexik_translation.grid_toggle_similar'),
            'locales'        => $this->getManagedLocales(),
            'tokens'         => $tokens,
        ));
    }
public function gridAction ( ) { $ tokens = null ; if ( $ this -> container -> getParameter ( 'lexik_translation.dev_tools.enable' ) ) { $ tokens = $ this -> get ( 'lexik_translation.token_finder' ) -> find ( ) ; } return $ this -> render ( '@LexikTranslation/Translation/grid.html.twig' , array ( 'layout' => $ this -> container -> getParameter ( 'lexik_translation.base_layout' ) , 'inputType' => $ this -> container -> getParameter ( 'lexik_translation.grid_input_type' ) , 'autoCacheClean' => $ this -> container -> getParameter ( 'lexik_translation.auto_cache_clean' ) , 'toggleSimilar' => $ this -> container -> getParameter ( 'lexik_translation.grid_toggle_similar' ) , 'locales' => $ this -> getManagedLocales ( ) , 'tokens' => $ tokens , ) ) ; }
Display the translation grid.

@return \Symfony\Component\HttpFoundation\Response
Display the translation grid .