src/Controller/CkeditorAdminController.php
private function getTemplate($name)
    {
        $templates = $this->container->getParameter('sonata.formatter.ckeditor.configuration.templates');

        if (isset($templates[$name])) {
            return $templates[$name];
        }

        return null;
    }
private function getTemplate($name)
    {
        $templates = $this->container->getParameter('sonata.formatter.ckeditor.configuration.templates');

        if (isset($templates[$name])) {
            return $templates[$name];
        }

        return null;
    }
private function getTemplate ( $ name ) { $ templates = $ this -> container -> getParameter ( 'sonata.formatter.ckeditor.configuration.templates' ) ; if ( isset ( $ templates [ $ name ] ) ) { return $ templates [ $ name ] ; } return null ; }
Returns a template.

@param string $name

@return string
Returns a template .