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
SortDateTimeTest::$testViews property core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php Views to be enabled.
SortDateTimeTest::setUp function core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php
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.
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_timestamp_plugins function core/modules/system/system.post_update.php Force plugin definitions to be cleared.
system_time_zones function core/modules/system/system.module Generate an array of time zones and their local time&date.
system_user_timezone function core/modules/system/system.module Add the time zone field to the user edit and register forms.
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.
TestBase::$timeLimit property core/modules/simpletest/src/TestBase.php Time limit for the test.
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.php file core/modules/update/tests/modules/update_test/src/Datetime/TestTime.php
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/lib/Drupal/Component/Datetime/Time.php Provides a class for obtaining system time.
Time class core/modules/views/src/Plugin/views/cache/Time.php Simple caching of query results for Views displays.
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/seven/templates/classy/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/bartik/templates/classy/field/time.html.twig Theme override for a date / time element.
time.html.twig file core/themes/stable/templates/field/time.html.twig Theme override for a date / time element.
time.html.twig file core/themes/classy/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::$request property core/modules/views/src/Plugin/views/cache/Time.php The current request.
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 Determine expiration time in the cache table of the cache type
or CACHE_PERMANENT if item shouldn't be removed automatically from cache.
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.
Time::getLifespan function core/modules/views/src/Plugin/views/cache/Time.php
Time::getRequestMicroTime function core/lib/Drupal/Component/Datetime/Time.php Returns the timestamp for the current request with microsecond precision.

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