namespace Shaarli\Front\Controller\Admin;
use Shaarli\Bookmark\Exception\BookmarkNotFoundException;
+use Shaarli\Render\TemplatePage;
use Slim\Http\Request;
use Slim\Http\Response;
t('Thumbnails update') .' - '. $this->container->conf->get('general.title', 'Shaarli')
);
- return $response->write($this->render('thumbnails'));
+ return $response->write($this->render(TemplatePage::THUMBNAILS));
}
/**
return $response->withJson($this->container->formatterFactory->getFormatter('raw')->format($bookmark));
}
-
- /**
- * @param mixed[] $data Variables passed to the template engine
- *
- * @return mixed[] Template data after active plugins render_picwall hook execution.
- */
- protected function executeHooks(array $data): array
- {
- $this->container->pluginManager->executeHooks(
- 'render_tools',
- $data
- );
-
- return $data;
- }
}