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