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
SortDateTimeTest::testDateTimeSort function core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php Tests the datetime sort handler.
Sql::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/Sql.php Applies a timezone offset to the given field.
Sql::setupTimezone function core/modules/views/src/Plugin/views/query/Sql.php Set the database to the current user timezone.
SqliteDateSql::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/SqliteDateSql.php Applies the given offset to the given field.
SqliteDateSql::setTimezoneOffset function core/modules/views/src/Plugin/views/query/SqliteDateSql.php Set the database to the given timezone.
SqliteDateSqlTest::testSetFieldTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php Tests timezone offset formatting.
SqliteDateSqlTest::testSetTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php Tests setting the database offset.
StageBase::TEMPSTORE_APPLY_TIME_KEY constant core/modules/package_manager/src/StageBase.php The tempstore key under which to store the time that ::apply() was called.
StageBaseTest::testTimeouts function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that Composer Stager is invoked with a long timeout.
StatementExecutionEndEvent::getElapsedTime function core/lib/Drupal/Core/Database/Event/StatementExecutionEndEvent.php Gets the query execution elapsed time.
StatisticsViewsResult::$timestamp property core/modules/statistics/src/StatisticsViewsResult.php
StatisticsViewsResult::getTimestamp function core/modules/statistics/src/StatisticsViewsResult.php Timestamp of when the entity was last viewed.
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.
TemplateProjectTestBase::MAX_EXECUTION_TIME constant core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php The PHP web server's max_execution_time value.
template_preprocess_datetime_form function core/includes/theme.inc Prepares variables for datetime form element templates.
template_preprocess_datetime_wrapper function core/includes/theme.inc Prepares variables for datetime form wrapper templates.
template_preprocess_time function core/includes/theme.inc Prepares variables for time templates.
TermContextTest::testGetRuntimeContexts function core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php @covers ::getRuntimeContexts
TermRouteContext::getRuntimeContexts function core/modules/taxonomy/src/ContextProvider/TermRouteContext.php Gets runtime context values for the given context IDs.
TestSiteInstallCommand::$timeLimit property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Time limit in seconds for the test.
TestSuiteBaseTest::testLocalTimeZone function core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php Tests the assumption that local time is in 'Australia/Sydney'.
TestTime class core/modules/update/tests/modules/update_test/src/Datetime/TestTime.php Test service for altering the request time.
TestTime class core/modules/package_manager/tests/src/Kernel/StageConflictTest.php A test-only implementation of the time service.
TestTime.php file core/modules/update/tests/modules/update_test/src/Datetime/TestTime.php
TestTime::$offset property core/modules/package_manager/tests/src/Kernel/StageConflictTest.php An offset to add to the request time.
TestTime::getRequestTime function core/modules/package_manager/tests/src/Kernel/StageConflictTest.php Returns the timestamp for the current request.
TestTime::getRequestTime function core/modules/update/tests/modules/update_test/src/Datetime/TestTime.php Returns the timestamp for the current request.
time function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow time() system call.
Time class core/modules/views/src/Plugin/views/cache/Time.php Simple caching of query results for Views displays.
Time class core/lib/Drupal/Component/Datetime/Time.php Provides a class for obtaining system time.
time.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/field/time.html.twig Theme override for a date / time element.
time.html.twig file core/themes/stable9/templates/field/time.html.twig Theme override for a date / time element.
time.html.twig file core/themes/claro/templates/classy/field/time.html.twig Theme override for a date / time element.
time.html.twig file core/themes/starterkit_theme/templates/field/time.html.twig Theme override for a date / time element.
time.html.twig file core/modules/system/templates/time.html.twig Default theme implementation for a date / time element.
Time.php file core/modules/views/src/Plugin/views/cache/Time.php
Time.php file core/lib/Drupal/Component/Datetime/Time.php
Time::$dateFormatter property core/modules/views/src/Plugin/views/cache/Time.php The date formatter service.
Time::$proxyRequestTime property core/lib/Drupal/Component/Datetime/Time.php A proxied request time if the request time is not available.
Time::$requestStack property core/lib/Drupal/Component/Datetime/Time.php The request stack.
Time::$usesOptions property core/modules/views/src/Plugin/views/cache/Time.php Denotes whether the plugin has an additional options form.
Time::buildOptionsForm function core/modules/views/src/Plugin/views/cache/Time.php Provide a form to edit options for this plugin.
Time::cacheExpire function core/modules/views/src/Plugin/views/cache/Time.php Determine the expiration time of the cache type, or NULL if no expire.
Time::cacheSetMaxAge function core/modules/views/src/Plugin/views/cache/Time.php Determines cache expiration time based on its type.
Time::create function core/modules/views/src/Plugin/views/cache/Time.php Creates an instance of the plugin.
Time::defineOptions function core/modules/views/src/Plugin/views/cache/Time.php Information about options for all kinds of purposes will be held here.
Time::getCurrentMicroTime function core/lib/Drupal/Component/Datetime/Time.php Returns the current system time with microsecond precision.
Time::getCurrentTime function core/lib/Drupal/Component/Datetime/Time.php Returns the current system time as an integer.
Time::getDefaultCacheMaxAge function core/modules/views/src/Plugin/views/cache/Time.php Returns the default cache max age.

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