Backend\Core\Ajax\Templates::getContent PHP Method

getContent() public method

public getContent ( ) : Response
return Symfony\Component\HttpFoundation\Response
    public function getContent()
    {
        return new Response('CKEDITOR.addTemplates(\'default\', { imagesPath: \'/\', templates:' . "\n" . json_encode($this->templates) . "\n" . '});', Response::HTTP_OK, ['Content-type' => 'text/javascript']);
    }