Files
2026-09-15 10:26:34 +08:00

22 lines
503 B
PHP

<?php
namespace Stemcell\Catalog\Model\Source;
use Magento\Framework\Data\OptionSourceInterface;
class TaskStatus implements OptionSourceInterface
{
public function toOptionArray()
{
return [
['value' => 'pending', 'label' => __('等待处理')],
['value' => 'processing', 'label' => __('处理中')],
['value' => 'success', 'label' => __('导入成功')],
['value' => 'failed', 'label' => __('导入失败')],
];
}
}
{
}