21 lines
534 B
PHP
21 lines
534 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Esun\MultiLocaleTranslation\Model\Config\Source;
|
|
|
|
use Magento\Framework\Data\OptionSourceInterface;
|
|
|
|
class QueueStatus implements OptionSourceInterface
|
|
{
|
|
public function toOptionArray(): array
|
|
{
|
|
return [
|
|
['value' => 'pending', 'label' => __('Pending')],
|
|
['value' => 'processing', 'label' => __('Processing')],
|
|
['value' => 'success', 'label' => __('Success')],
|
|
['value' => 'failed', 'label' => __('Failed')],
|
|
];
|
|
}
|
|
}
|