ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Elastic Search Base for Magento 2
|
||||
*/
|
||||
|
||||
namespace Amasty\ElasticSearch\Model\Source;
|
||||
|
||||
class KuromojiTokenMode implements \Magento\Framework\Option\ArrayInterface
|
||||
{
|
||||
public const NORMAL = 'normal';
|
||||
public const SEARCH = 'search';
|
||||
public const EXTENDED = 'extended';
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function toOptionArray()
|
||||
{
|
||||
return [
|
||||
['value' => self::NORMAL, 'label' => __('Normal')],
|
||||
['value' => self::SEARCH, 'label' => __('Search')],
|
||||
['value' => self::EXTENDED, 'label' => __('Extended')]
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user