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
NodeStatisticsDatabaseStorage::getRequestTime function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php Get current request time.
PackageManagerBypassTestTrait::assertUpdateStagedTimes function core/modules/package_manager/tests/src/Traits/PackageManagerBypassTestTrait.php Asserts the number of times an update was staged.
PHP Runtime Assert Statements group core/core.api.php Use of the assert() statement in Drupal.
PostgresqlDateSql::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php Applies the given offset to the given field.
PostgresqlDateSql::setTimezoneOffset function core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php Set the database to the given timezone.
PostgresqlDateSqlTest::testSetFieldTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php Tests timezone offset formatting.
PostgresqlDateSqlTest::testSetTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php Tests setting the database offset.
ProfileTranslationHandler::hasCreatedTime function core/modules/user/src/ProfileTranslationHandler.php Checks whether the entity type supports creation time natively.
ProviderRepository::$time property core/modules/media/src/OEmbed/ProviderRepository.php The time service.
ProviderRepositoryTest::$currentTime property core/modules/media/tests/src/Unit/ProviderRepositoryTest.php The time that the current test began.
QueryPluginBase::getTimezoneOffset function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Get the timezone offset in seconds.
QueryPluginBase::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Applies a timezone offset to the given field.
QueryPluginBase::setupTimezone function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Set the database to the current user timezone.
QueryTest::setFieldTimezoneOffset function core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php Applies a timezone offset to the given field.
QueueWorkerManagerInterface::DEFAULT_QUEUE_CRON_TIME constant core/lib/Drupal/Core/Queue/QueueWorkerManagerInterface.php The default time duration in seconds spent calling a queue worker.
RegionalForm::loadDefaultTimeZone function core/modules/system/src/Form/RegionalForm.php Prepares the saved timezone.default property to be displayed in the form.
Registry::$runtimeCache property core/lib/Drupal/Core/Theme/Registry.php The runtime cache.
Registry::$runtimeRegistry property core/lib/Drupal/Core/Theme/Registry.php An array of incomplete, runtime theme registries, keyed by theme name.
Registry::getRuntime function core/lib/Drupal/Core/Theme/Registry.php Returns the incomplete, runtime theme registry.
RegistryTest::$runtimeCache property core/tests/Drupal/Tests/Core/Theme/RegistryTest.php The mocked cache backend.
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.
RunTimeRequirementsTest class core/modules/system/tests/src/Kernel/System/RunTimeRequirementsTest.php Tests the effectiveness of hook_runtime_requirements().
RunTimeRequirementsTest.php file core/modules/system/tests/src/Kernel/System/RunTimeRequirementsTest.php
RunTimeRequirementsTest::$modules property core/modules/system/tests/src/Kernel/System/RunTimeRequirementsTest.php Modules to install.
RunTimeRequirementsTest::testRuntimeRequirements function core/modules/system/tests/src/Kernel/System/RunTimeRequirementsTest.php Tests hook_runtime_requirements() and hook_runtime_requirements_alter().
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

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