| TimezoneResolverTest::testGetTimeZone |
function |
core/modules/system/tests/src/Kernel/TimezoneResolverTest.php |
Tests time zone resolution. |
| TimezoneTest |
class |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
Tests the timezone handling of datetime and datelist element types. |
| TimezoneTest.php |
file |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
|
| TimezoneTest::$date |
property |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
The date used in tests. |
| TimezoneTest::$dateFormat |
property |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
HTML date format pattern. |
| TimezoneTest::$elementType |
property |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
The element type that is being tested ('datetime' or 'datelist'). |
| TimezoneTest::$formattedDates |
property |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
The test date formatted in various formats and timezones. |
| TimezoneTest::$testConditions |
property |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
The number of test elements on the form. |
| TimezoneTest::$timeFormat |
property |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
HTML time format pattern. |
| TimezoneTest::$timezones |
property |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
An array of timezones with labels denoting their use in the tests. |
| TimezoneTest::assertDateTimezonePropertyProcessed |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
Asserts that elements set #date_timezone correctly. |
| TimezoneTest::assertTimesUnderstoodCorrectly |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
Asserts that elements interpret dates using the expected time zones. |
| TimezoneTest::buildForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
|
| TimezoneTest::getFormId |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
|
| TimezoneTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
|
| TimezoneTest::setupForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
Simulate form being loaded and default values displayed to user. |
| TimezoneTest::submitForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
|
| TimezoneTest::testDatelistElementTimesUnderstoodCorrectly |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
Tests datelist elements interpret their times correctly when saving. |
| TimezoneTest::testDatelistTimezonePropertyProcessed |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
On datelist elements test #date_timezone after ::processDatetime. |
| TimezoneTest::testDatetimeElementTimesUnderstoodCorrectly |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
Tests datetime elements interpret their times correctly when saving. |
| TimezoneTest::testDatetimeTimezonePropertyProcessed |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
On datetime elements test #date_timezone after ::processDatetime. |
| TimezoneTest::validateForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
|
| User::getAllowedTimezones |
function |
core/modules/user/src/Entity/User.php |
Defines allowed timezones for the field's AllowedValues constraint. |
| User::getTimeZone |
function |
core/modules/user/src/Entity/User.php |
|
| UserInterface::TIMEZONE_DEFAULT |
constant |
core/modules/user/src/UserInterface.php |
New users will be set to the default time zone at registration. |
| UserInterface::TIMEZONE_EMPTY |
constant |
core/modules/user/src/UserInterface.php |
New users will get an empty time zone at registration. |
| UserInterface::TIMEZONE_SELECT |
constant |
core/modules/user/src/UserInterface.php |
New users will select their own timezone at registration. |
| UserSession::$timezone |
property |
core/lib/Drupal/Core/Session/UserSession.php |
The timezone of this account. |
| UserSession::getTimeZone |
function |
core/lib/Drupal/Core/Session/UserSession.php |
|
| UserTimeZoneTest |
class |
core/modules/user/tests/src/Functional/UserTimeZoneTest.php |
Set a user time zone and verify that dates are displayed in local time. |
| UserTimeZoneTest.php |
file |
core/modules/user/tests/src/Functional/UserTimeZoneTest.php |
|
| UserTimeZoneTest::$defaultTheme |
property |
core/modules/user/tests/src/Functional/UserTimeZoneTest.php |
|
| UserTimeZoneTest::$modules |
property |
core/modules/user/tests/src/Functional/UserTimeZoneTest.php |
|
| UserTimeZoneTest::testUserTimeZone |
function |
core/modules/user/tests/src/Functional/UserTimeZoneTest.php |
Tests the display of dates and time when user-configurable time zones are set. |
| UserUpdate7002::$timezones |
property |
core/modules/user/src/Plugin/migrate/process/d6/UserUpdate7002.php |
System timezones. |