Search for time

  1. Search 7.x for time
  2. Search 9.5.x for time
  3. Search 10.3.x for time
  4. Search 11.x for time
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Time class core/modules/views/src/Plugin/views/cache/Time.php Simple caching of query results for Views displays.
time function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow time() system call.
Time class core/lib/Drupal/Component/Datetime/Time.php Provides a class for obtaining system time.

All search results

Title Object type File name Summary
TimestampTest::$displayOptions property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php An array of display options to pass to EntityDisplayRepositoryInterface::getViewDisplay().
TimestampTest::$field property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php The field used in this test class.
TimestampTest::$fieldStorage property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php A field storage to use in this test class.
TimestampTest::$modules property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php Modules to enable.
TimestampTest::setUp function core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php
TimestampTest::testWidget function core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php Tests the "datetime_timestamp" widget.
TimeTest class core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @coversDefaultClass \Drupal\Component\Datetime\Time
@group Datetime
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
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
TimeZone class core/modules/system/src/Plugin/migrate/process/d6/TimeZone.php Process the D6 Timezone offset into a D8 compatible timezone name.
TimeZone.php file core/modules/system/src/Plugin/migrate/process/d6/TimeZone.php
TimeZone::transform function core/modules/system/src/Plugin/migrate/process/d6/TimeZone.php Performs the associated process.
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 Gets the cacheability metadata for the context.
TimeZoneCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php Returns the string representation of the cache context.
TimeZoneCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php Returns the label of the cache context.
TimezoneController class core/modules/system/src/Controller/TimezoneController.php Provides a callback for finding out a timezone name.
TimezoneController.php file core/modules/system/src/Controller/TimezoneController.php
TimezoneController::getTimezone function core/modules/system/src/Controller/TimezoneController.php Retrieve a JSON object containing a time zone name given a timezone
abbreviation.
TimeZoneDeprecationTest class core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php Tests deprecated methods in bootstrap throw deprecation warnings.
TimeZoneDeprecationTest.php file core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php
TimeZoneDeprecationTest::$modules property core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php Modules to enable.
TimeZoneDeprecationTest::testDeprecation function core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php @expectedDeprecation drupal_get_user_timezone() is deprecated in drupal:8.8.0. It will be removed from drupal:9.0.0. Use date_default_timezone_get() instead. See https://www.drupal.org/node/3009387
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 @coversDefaultClass \Drupal\system\TimeZoneResolver
@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 enable.
TimezoneResolverTest::testGetTimeZone function core/modules/system/tests/src/Kernel/TimezoneResolverTest.php Tests time zone resolution.
TimeZoneTest class core/modules/simpletest/src/Tests/TimeZoneTest.php This test will check WebTestBase's default time zone handling.
TimezoneTest class core/modules/system/tests/src/Kernel/Timezone/TimezoneTest.php Test coverage for time zone handling.

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