protected property TimezoneTest::$timezones in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php \Drupal\KernelTests\Core\Datetime\Element\TimezoneTest::timezones
An array of timezones with labels denoting their use in the tests.
Type: array
File
- core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ Element/ TimezoneTest.php, line 41
Class
- TimezoneTest
- Tests the timezone handling of datetime and datelist element types.
Namespace
Drupal\KernelTests\Core\Datetime\ElementCode
protected $timezones = [
// UTC-12, no DST.
'zone A' => 'Pacific/Kwajalein',
// UTC-7, no DST.
'zone B' => 'America/Phoenix',
// UTC+5:30, no DST.
'user' => 'Asia/Kolkata',
'UTC' => 'UTC',
];