18 lines
411 B
PHP
18 lines
411 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Esun\SeventeenTrack\Model\Source;
|
|
|
|
use Magento\Framework\Data\OptionSourceInterface;
|
|
|
|
class LogOperation implements OptionSourceInterface
|
|
{
|
|
public function toOptionArray(): array
|
|
{
|
|
return [
|
|
['value' => 'register', 'label' => __('Tracking Registration')],
|
|
['value' => 'webhook', 'label' => __('Webhook Push')],
|
|
];
|
|
}
|
|
}
|