Controller/ConfigurationController.php
protected function renderTemplate(ConfigGroup $group = null)
    {
        $adminPool = $this->container->get('sonata.admin.pool');

        return $this->render(
            'VinceTAdminConfigurationBundle:Configuration:index.html.twig',
            array(
                'configuration_menu' => $this->createMenu(),
                'group' => $group,
                'form' => $this->createConfigGroupForm($group)->createView(),
                'admin_section' => $adminPool->getAdminByAdminCode('admin.configuration.admin.configsection'),
                'admin_group' => $adminPool->getAdminByAdminCode('admin.configuration.admin.configgroup'),
                'admin_value' => $adminPool->getAdminByAdminCode('admin.configuration.admin.configvalue'),
                'admin_type' => $adminPool->getAdminByAdminCode('admin.configuration.admin.configtype'),
            )
        );
    }
protected function renderTemplate(ConfigGroup $group = null)
    {
        $adminPool = $this->container->get('sonata.admin.pool');

        return $this->render(
            'VinceTAdminConfigurationBundle:Configuration:index.html.twig',
            array(
                'configuration_menu' => $this->createMenu(),
                'group' => $group,
                'form' => $this->createConfigGroupForm($group)->createView(),
                'admin_section' => $adminPool->getAdminByAdminCode('admin.configuration.admin.configsection'),
                'admin_group' => $adminPool->getAdminByAdminCode('admin.configuration.admin.configgroup'),
                'admin_value' => $adminPool->getAdminByAdminCode('admin.configuration.admin.configvalue'),
                'admin_type' => $adminPool->getAdminByAdminCode('admin.configuration.admin.configtype'),
            )
        );
    }
protected function renderTemplate ( ConfigGroup $ group = null ) { $ adminPool = $ this -> container -> get ( 'sonata.admin.pool' ) ; return $ this -> render ( 'VinceTAdminConfigurationBundle:Configuration:index.html.twig' , array ( 'configuration_menu' => $ this -> createMenu ( ) , 'group' => $ group , 'form' => $ this -> createConfigGroupForm ( $ group ) -> createView ( ) , 'admin_section' => $ adminPool -> getAdminByAdminCode ( 'admin.configuration.admin.configsection' ) , 'admin_group' => $ adminPool -> getAdminByAdminCode ( 'admin.configuration.admin.configgroup' ) , 'admin_value' => $ adminPool -> getAdminByAdminCode ( 'admin.configuration.admin.configvalue' ) , 'admin_type' => $ adminPool -> getAdminByAdminCode ( 'admin.configuration.admin.configtype' ) , ) ) ; }
Render the main template

@param ConfigGroup $group [description]

@return [type]
Render the main template