public function deleteThemeAction($id)
{
$journal = $this->get('ojs.journal_service')->getSelectedJournal();
if (!$this->isGranted('DELETE', $journal, 'theme')) {
throw new AccessDeniedException();
}
$entity = $this->getOr404($id);
$this->container->get('ojs_api.journal_theme.handler')->delete($entity);
return $this->view(null, Codes::HTTP_NO_CONTENT, []);
}