init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Esun\ImageManager\Model\Source;
|
||||
|
||||
use Magento\Framework\Data\OptionSourceInterface;
|
||||
|
||||
class StatusOptions implements OptionSourceInterface
|
||||
{
|
||||
public function toOptionArray(): array
|
||||
{
|
||||
return [
|
||||
['value' => 1, 'label' => __('Enabled')],
|
||||
['value' => 0, 'label' => __('Disabled')],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user