| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | protected function setUp() |
||
| 35 | { |
||
| 36 | parent::setUp(); |
||
| 37 | |||
| 38 | $symfonyTheme = '{% block widget_attributes %}{% endblock %}'; |
||
| 39 | $ckeditorTheme = file_get_contents(__DIR__.'/../../src/Resources/views/Form/ckeditor_widget.html.twig'); |
||
| 40 | |||
| 41 | $this->twig = new \Twig_Environment(new \Twig_Loader_Array([ |
||
| 42 | 'ckeditor' => $symfonyTheme.$ckeditorTheme, |
||
| 43 | ])); |
||
| 44 | |||
| 45 | $this->twig->addExtension(new CKEditorExtension($this->renderer)); |
||
| 46 | $this->template = $this->twig->loadTemplate('ckeditor'); |
||
| 47 | } |
||
| 48 | |||
| 57 |