init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Esun\Video\Model\Config\Source;
|
||||
|
||||
use Magento\Framework\Data\OptionSourceInterface;
|
||||
|
||||
class StorageDriver implements OptionSourceInterface
|
||||
{
|
||||
public function toOptionArray(): array
|
||||
{
|
||||
return [
|
||||
['value' => 'file', 'label' => __('Local (pub/media)')],
|
||||
['value' => 'aws-s3', 'label' => __('AWS S3')],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user