ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Plumrocket_CookieConsentPro
|
||||
* @copyright Copyright (c) 2025 Plumrocket Inc.
|
||||
* @license https://plumrocket.com/license End-user License Agreement
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Plumrocket\CookieConsentPro\Model\Config\Source;
|
||||
|
||||
use Plumrocket\Base\Model\OptionSource\AbstractSource;
|
||||
|
||||
/**
|
||||
* @since 1.0.1
|
||||
*/
|
||||
class ConsentInitiator extends AbstractSource
|
||||
{
|
||||
public const INITIATOR_CUSTOMER = 'customer';
|
||||
public const INITIATOR_GPC = 'gpc';
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function toOptionHash(): array
|
||||
{
|
||||
return [
|
||||
self::INITIATOR_CUSTOMER => __('Customer'),
|
||||
self::INITIATOR_GPC => __('GPC Signal'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user