HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/lesanew/anestetues2/web/app/plugins/google-site-kit/includes/Core/Consent_Mode/Regions.php
<?php
/**
 * Class Google\Site_Kit\Core\Consent_Mode\Regions
 *
 * @package   Google\Site_Kit\Core\Consent_Mode
 * @copyright 2024 Google LLC
 * @license   https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
 * @link      https://sitekit.withgoogle.com
 */

namespace Google\Site_Kit\Core\Consent_Mode;

use Google\Site_Kit\Core\Util\Feature_Flags;

/**
 * Class containing consent mode Regions.
 *
 * @since 1.122.0
 * @access private
 * @ignore
 */
class Regions {

	/**
	 * List of countries that Google's EU user consent policy applies to, which are the
	 * countries in the European Economic Area (EEA) plus the UK.
	 */
	const EU_USER_CONSENT_POLICY = array(
		'AT',
		'BE',
		'BG',
		'CH',
		'CY',
		'CZ',
		'DE',
		'DK',
		'EE',
		'ES',
		'FI',
		'FR',
		'GB',
		'GR',
		'HR',
		'HU',
		'IE',
		'IS',
		'IT',
		'LI',
		'LT',
		'LU',
		'LV',
		'MT',
		'NL',
		'NO',
		'PL',
		'PT',
		'RO',
		'SE',
		'SI',
		'SK',
	);

	/**
	 * Returns the list of regions that Google's EU user consent policy applies to.
	 *
	 * @since 1.128.0
	 *
	 * @return array<string> List of regions.
	 */
	public static function get_regions() {
		return self::EU_USER_CONSENT_POLICY;
	}
}