| system.timezone_resolver |
service |
core/modules/system/system.services.yml |
Drupal\system\TimeZoneResolver |
| system_post_update_convert_empty_country_and_timezone_settings_to_null |
function |
core/modules/system/system.post_update.php |
Updates system.date config to NULL for empty country and timezone defaults. |
| TestSuiteBaseTest::testLocalTimeZone |
function |
core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php |
Tests the assumption that local time is in 'Australia/Sydney'. |
| TimestampNormalizer::getNormalizationTimezone |
function |
core/modules/serialization/src/Normalizer/TimestampNormalizer.php |
|
| TimestampNormalizerTestDrupalDateTime::setTimezone |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
Sets the timezone. |
| TimeZone |
class |
core/modules/system/src/Plugin/migrate/process/d6/TimeZone.php |
Process the D6 Timezone offset into a D8 compatible timezone name. |
| TimeZone |
class |
core/modules/migrate/src/Plugin/migrate/process/TimeZone.php |
Process the Timezone offset into a Drupal compatible timezone name. |
| TimeZone.php |
file |
core/modules/system/src/Plugin/migrate/process/d6/TimeZone.php |
|
| TimeZone.php |
file |
core/modules/migrate/src/Plugin/migrate/process/TimeZone.php |
|
| TimeZone::transform |
function |
core/modules/system/src/Plugin/migrate/process/d6/TimeZone.php |
Performs the associated process. |
| TimeZone::transform |
function |
core/modules/migrate/src/Plugin/migrate/process/TimeZone.php |
|
| TimeZoneAbbreviationRouteTest |
class |
core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php |
Tests converting JavaScript time zone abbreviations to time zone identifiers. |
| TimeZoneAbbreviationRouteTest.php |
file |
core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php |
|
| TimeZoneAbbreviationRouteTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php |
|
| TimeZoneAbbreviationRouteTest::$modules |
property |
core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php |
|
| TimeZoneAbbreviationRouteTest::providerAbbreviationConversion |
function |
core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php |
Provides test data for testGet(). |
| TimeZoneAbbreviationRouteTest::testAbbreviationConversion |
function |
core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php |
Test the AJAX Timezone Callback with invalid inputs. |
| TimeZoneAbbreviationRouteTest::testSystemTimezone |
function |
core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php |
Test that the AJAX Timezone Callback can deal with various formats. |
| TimeZoneCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
Defines the TimeZoneCacheContext service, for "per time zone" caching. |
| TimeZoneCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
|
| TimeZoneCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
|
| TimeZoneCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
|
| TimeZoneCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
|
| TimezoneController |
class |
core/modules/system/src/Controller/TimezoneController.php |
Provides a callback for finding a time zone identifier. |
| TimezoneController.php |
file |
core/modules/system/src/Controller/TimezoneController.php |
|
| TimezoneController::getTimezone |
function |
core/modules/system/src/Controller/TimezoneController.php |
Returns a time zone identifier given a time zone abbreviation. |
| TimeZoneFormHelper |
class |
core/lib/Drupal/Core/Datetime/TimeZoneFormHelper.php |
Helper class for dealing with timezones. |
| TimeZoneFormHelper.php |
file |
core/lib/Drupal/Core/Datetime/TimeZoneFormHelper.php |
|
| TimeZoneFormHelper::getOptionsList |
function |
core/lib/Drupal/Core/Datetime/TimeZoneFormHelper.php |
Generate an array of time zones names. |
| TimeZoneFormHelper::getOptionsListByRegion |
function |
core/lib/Drupal/Core/Datetime/TimeZoneFormHelper.php |
Generate an array of time zones names grouped by region. |
| TimeZoneFormHelperTest |
class |
core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php |
Tests Drupal\Core\Datetime\TimeZoneFormHelper. |
| TimeZoneFormHelperTest.php |
file |
core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php |
|
| TimeZoneFormHelperTest::setUp |
function |
core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php |
|
| TimeZoneFormHelperTest::testGetGroupedList |
function |
core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php |
Tests get grouped list. |
| TimeZoneFormHelperTest::testGetList |
function |
core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php |
Tests get list. |
| TimeZoneItem |
class |
core/modules/user/src/TimeZoneItem.php |
Defines a custom field item class for the 'timezone' user entity field. |
| TimeZoneItem.php |
file |
core/modules/user/src/TimeZoneItem.php |
|
| TimeZoneItem::generateSampleValue |
function |
core/modules/user/src/TimeZoneItem.php |
|
| TimeZoneResolver |
class |
core/modules/system/src/TimeZoneResolver.php |
Event handler that resolves time zone based on site and user configuration. |
| TimeZoneResolver.php |
file |
core/modules/system/src/TimeZoneResolver.php |
|
| TimeZoneResolver::$configFactory |
property |
core/modules/system/src/TimeZoneResolver.php |
The config. |
| TimeZoneResolver::$currentUser |
property |
core/modules/system/src/TimeZoneResolver.php |
The current user. |
| TimeZoneResolver::getSubscribedEvents |
function |
core/modules/system/src/TimeZoneResolver.php |
|
| TimeZoneResolver::getTimeZone |
function |
core/modules/system/src/TimeZoneResolver.php |
Gets the time zone based on site and user configuration. |
| TimeZoneResolver::onConfigSave |
function |
core/modules/system/src/TimeZoneResolver.php |
Updates the default time zone when time zone config changes. |
| TimeZoneResolver::setDefaultTimeZone |
function |
core/modules/system/src/TimeZoneResolver.php |
Sets the default time zone. |
| TimeZoneResolver::__construct |
function |
core/modules/system/src/TimeZoneResolver.php |
TimeZoneResolver constructor. |
| TimezoneResolverTest |
class |
core/modules/system/tests/src/Kernel/TimezoneResolverTest.php |
Tests Drupal\system\TimeZoneResolver. |
| TimezoneResolverTest.php |
file |
core/modules/system/tests/src/Kernel/TimezoneResolverTest.php |
|
| TimezoneResolverTest::$modules |
property |
core/modules/system/tests/src/Kernel/TimezoneResolverTest.php |
|