/** * Draws the button to close the editor. * * @return string The formatted editor * */ protected function renderCloseButton() { $closeButton = new w3sButton(); $closeButton->fromYml('editorButtonClose.yml'); return sprintf('<div class="CloseCurrentEditor">%s</div>', $closeButton->render()); }