Search for time

  1. Search 7.x for time
  2. Search 9.5.x for time
  3. Search 8.9.x for time
  4. Search 10.3.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
TimestampNormalizerTestDrupalDateTime class core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Provides a test class for testing DrupalDateTime.
TimestampNormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
TimestampSchemaTest class core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php Tests timestamp schema.
TimestampSchemaTest.php file core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php
TimestampSchemaTest::$modules property core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php Modules to install.
TimestampSchemaTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php
TimestampSchemaTest::testTimestampSchema function core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php Tests if the timestamp field schema is validated.
TimestampTest class core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php Tests the functionality of Timestamp core field UI.
TimestampTest.php file core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php
TimestampTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php The theme to install as the default for testing.
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 install.
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 Tests the Time class.
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
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 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.
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.
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 a time zone identifier.
TimezoneController.php file core/modules/system/src/Controller/TimezoneController.php

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