Files
kupshop/bundles/External/ZNZBundle/Admin/Tabs/ZNZStoresTab.php
2025-08-02 16:30:27 +02:00

37 lines
628 B
PHP

<?php
declare(strict_types=1);
namespace External\ZNZBundle\Admin\Tabs;
use External\ZNZBundle\Util\ZNZUtil;
use KupShop\AdminBundle\Admin\WindowTab;
class ZNZStoresTab extends WindowTab
{
protected $title = 'flapStoresZNZ';
protected $template = 'window/stores.znz.tpl';
public static function getTypes()
{
return [
'stores' => 0,
];
}
public function isVisible()
{
return isSuperuser();
}
public function getLabel()
{
return 'ZNZ';
}
public function handleUpdate()
{
clearCache(ZNZUtil::STORES_CACHE_KEY);
}
}