init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?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' => __('导入失败')],
|
||||
];
|
||||
}
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user