| 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 |
Generates placeholder field values. |
| 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 |
Modules to install. |
| 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 |
Form constructor. |
| TimezoneTest::getFormId |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php |
Returns a unique string identifying the form. |
| 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 |
Form submission handler. |
| 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 |
Form validation handler. |
| TwigPhpStorageCache::getTimestamp |
function |
core/lib/Drupal/Core/Template/TwigPhpStorageCache.php |
|
| UiHelperTrait::$useOneTimeLoginLinks |
property |
core/tests/Drupal/Tests/UiHelperTrait.php |
Use one-time login links instead of submitting the login form. |
| UpdateRequirements::runtime |
function |
core/modules/update/src/Hook/UpdateRequirements.php |
Implements hook_runtime_requirements(). |
| UpdateTestSchemaRequirements::runtime |
function |
core/modules/system/tests/modules/update_test_schema/src/Hook/UpdateTestSchemaRequirements.php |
Implements hook_runtime_requirements(). |
| User::getAllowedTimezones |
function |
core/modules/user/src/Entity/User.php |
Defines allowed timezones for the field's AllowedValues constraint. |
| User::getCreatedTime |
function |
core/modules/user/src/Entity/User.php |
Returns the creation time of the user as a UNIX timestamp. |
| User::getLastAccessedTime |
function |
core/modules/user/src/Entity/User.php |
The timestamp when the account last accessed the site. |
| User::getLastLoginTime |
function |
core/modules/user/src/Entity/User.php |
Returns the UNIX timestamp when the user last logged in. |
| User::getTimeZone |
function |
core/modules/user/src/Entity/User.php |
Returns the timezone of this account. |
| User::setLastAccessTime |
function |
core/modules/user/src/Entity/User.php |
Sets the UNIX timestamp when the user last accessed the site. |
| User::setLastLoginTime |
function |
core/modules/user/src/Entity/User.php |
Sets the UNIX timestamp when the user last logged in. |
| UserInterface::getCreatedTime |
function |
core/modules/user/src/UserInterface.php |
Returns the creation time of the user as a UNIX timestamp. |
| UserInterface::getLastLoginTime |
function |
core/modules/user/src/UserInterface.php |
Returns the UNIX timestamp when the user last logged in. |