feat(main): conform to Websmid module standards

This commit is contained in:
2026-06-23 13:18:57 +02:00
parent 9e6c26da38
commit 6aff506cd6
3 changed files with 10 additions and 8 deletions
+7
View File
@@ -2,10 +2,17 @@
namespace Websmid\CustomHtml\Module;
use Tools;
trait AdminHooks
{
public function isUsingNewTranslationSystem(): bool
{
return true;
}
public function getContent()
{
Tools::redirectAdmin($this->get('router')->generate('customhtml_index'));
}
}