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
RenderCacheIntegrationTest::testEntityBasedViewCacheTagsWithCachePluginTime function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests an entity-based view's cache tags when using the "time" cache plugin.
RenderCacheIntegrationTest::testFieldBasedViewCacheTagsWithCachePluginTime function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests a field-based view's cache tags when using the "time" cache plugin.
RendererTestBase::$datetimeTime property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php System time service.
ReplicaKillSwitch::$time property core/lib/Drupal/Core/Database/ReplicaKillSwitch.php The time service.
RequireEventTrait::$runtimePackages property core/modules/package_manager/src/Event/RequireEventTrait.php The runtime packages, in the form 'vendor/name:constraint'.
RequireEventTrait::getRuntimePackages function core/modules/package_manager/src/Event/RequireEventTrait.php Gets the runtime (i.e., non-dev) packages.
ResourceFetcherTest::testFetchTimeout function core/modules/media/tests/src/Unit/ResourceFetcherTest.php Tests that resources are fetched with a hard-coded timeout.
RevisionCreateTimestampTest class core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php Ensures that the revision create time can be accessed in views.
RevisionCreateTimestampTest.php file core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
RevisionCreateTimestampTest::$modules property core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php Modules to install.
RevisionCreateTimestampTest::$testViews property core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php Views to be enabled.
RevisionCreateTimestampTest::setUp function core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
RevisionCreateTimestampTest::testRevisionCreateTimestampView function core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
RevisionLogEntityTrait::getRevisionCreationTime function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime().
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.

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