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
RevisionLogEntityTrait::setRevisionCreationTime function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime().
RevisionLogInterface::getRevisionCreationTime function core/lib/Drupal/Core/Entity/RevisionLogInterface.php Gets the entity revision creation timestamp.
RevisionLogInterface::setRevisionCreationTime function core/lib/Drupal/Core/Entity/RevisionLogInterface.php Sets the entity revision creation timestamp.
SaveAction::$time property core/lib/Drupal/Core/Action/Plugin/Action/SaveAction.php The time service.
serializer.normalizer.datetimeiso8601 service core/modules/serialization/serialization.services.yml \Drupal\serialization\Normalizer\DateTimeIso8601Normalizer
serializer.normalizer.timestamp service core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\TimestampNormalizer
serializer.normalizer.timestamp_item service core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\TimestampItemNormalizer
ServerCommand::getOneTimeLoginUrl function core/lib/Drupal/Core/Command/ServerCommand.php Gets a one time login URL for user 1.
SortDateTimeTest class core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php Tests for core Drupal\datetime\Plugin\views\sort\Date handler.
SortDateTimeTest.php file core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php
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.
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/StageBaseTest.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/StageBaseTest.php An offset to add to the request time.
TestTime::getRequestTime function core/modules/package_manager/tests/src/Kernel/StageBaseTest.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/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/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

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