src/Controller/HelpTextController.php
protected function getBaseTemplate(Request $request, AbstractAdmin $admin)
    {
        if ($request->isXmlHttpRequest()) {
            return $admin->getTemplate('ajax');
        }

        return $admin->getTemplate('layout');
    }
protected function getBaseTemplate(Request $request, AbstractAdmin $admin)
    {
        if ($request->isXmlHttpRequest()) {
            return $admin->getTemplate('ajax');
        }

        return $admin->getTemplate('layout');
    }
protected function getBaseTemplate ( Request $ request , AbstractAdmin $ admin ) { if ( $ request -> isXmlHttpRequest ( ) ) { return $ admin -> getTemplate ( 'ajax' ) ; } return $ admin -> getTemplate ( 'layout' ) ; }
return the base template name.

@param Request       $request
@param AbstractAdmin $admin

@return string the template name
return the base template name .