Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
TimeTest.php file core/tests/Drupal/Tests/Component/Datetime/TimeTest.php
TimeTest::$requestStack property core/tests/Drupal/Tests/Component/Datetime/TimeTest.php The mocked request stack.
TimeTest::$time property core/tests/Drupal/Tests/Component/Datetime/TimeTest.php The mocked time class.
TimeTest::setUp function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php
TimeTest::testGetCurrentMicroTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getCurrentMicroTime method.
TimeTest::testGetCurrentTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getCurrentTime method.
TimeTest::testGetRequestMicroTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getRequestMicroTime method.
TimeTest::testGetRequestMicroTimeNoRequest function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @covers ::getRequestMicroTime[[api-linebreak]]
TimeTest::testGetRequestTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getRequestTime method.
TimeTest::testGetRequestTimeNoRequest function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @covers ::getRequestTime[[api-linebreak]]
TimeWithNoRequestTest class core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php Tests that getRequest(Micro)Time works when no underlying request exists.
TimeWithNoRequestTest.php file core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php
TimeWithNoRequestTest::$time property core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php The time class for testing.
TimeWithNoRequestTest::setUp function core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php
TimeWithNoRequestTest::testGetRequestMicroTimeImmutable function core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php Tests the getRequestMicroTime method.
TimeWithNoRequestTest::testGetRequestTimeImmutable function core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php Tests the getRequestTime method.
TimeZone::transform function core/modules/system/src/Plugin/migrate/process/d6/TimeZone.php Performs the associated process.
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 The theme to install as the default for testing.
TimeZoneAbbreviationRouteTest::$modules property core/modules/system/tests/src/Functional/Datetime/TimeZoneAbbreviationRouteTest.php Modules to install.
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.
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 @coversDefaultClass \Drupal\Core\Datetime\TimeZoneFormHelper[[api-linebreak]]
@group Datetime
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 @covers ::getOptionsListByRegion[[api-linebreak]]
TimeZoneFormHelperTest::testGetList function core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php @covers ::getOptionsList[[api-linebreak]]
@covers ::getOptionsListByRegion[[api-linebreak]]
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 @coversDefaultClass \Drupal\system\TimeZoneResolver[[api-linebreak]]
@group system
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').

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.