<?php

declare(strict_types=1);

namespace External\ZNZBundle\Admin\Tabs;

use KupShop\AdminBundle\Admin\WindowTab;

class ZNZDropshipTab extends WindowTab
{
    protected $title = 'flapZNZDropshipment';
    protected $template = 'window/dropshipment.znz.tpl';

    public static function getTypes(): array
    {
        return [
            'Dropshipment' => 0,
        ];
    }

    public static function isAllowed()
    {
        return findModule(\Modules::DROPSHIP);
    }

    public function getLabel()
    {
        return 'ZNZ';
    }
}
