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
NodeInterface::getCreatedTime function core/modules/node/src/NodeInterface.php Gets the node creation timestamp.
NodeInterface::getRevisionCreationTime function core/modules/node/src/NodeInterface.php Gets the node revision creation timestamp.
NodeInterface::setCreatedTime function core/modules/node/src/NodeInterface.php Sets the node creation timestamp.
NodeInterface::setRevisionCreationTime function core/modules/node/src/NodeInterface.php Sets the node revision creation timestamp.
NodeRequirements::runtime function core/modules/node/src/Hook/NodeRequirements.php Implements hook_runtime_requirements().
NodeRevisionRevertForm::$time property core/modules/node/src/Form/NodeRevisionRevertForm.php The time service.
NodeRouteContext::getRuntimeContexts function core/modules/node/src/ContextProvider/NodeRouteContext.php Gets runtime context values for the given context IDs.
NodeSaveTest::testTimestamps function core/modules/node/tests/src/Functional/NodeSaveTest.php Verifies accuracy of the "created" and "changed" timestamp functionality.
PackageManagerBypassTestTrait::assertUpdateStagedTimes function core/modules/package_manager/tests/src/Traits/PackageManagerBypassTestTrait.php Asserts the number of times an update was staged.
PackageManagerRequirementsHooks::runtime function core/modules/package_manager/src/Hook/PackageManagerRequirementsHooks.php Implements hook_runtime_requirements().
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.
RequirementsTrait::getRuntimeRequirements function core/modules/mysql/src/RequirementsTrait.php Returns runtime requirements.
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 Tests the revision create timestamp view.
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().
SandboxManagerBase::TEMPSTORE_APPLY_TIME_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store the time that ::apply() was called.
SandboxManagerBaseTest::testTimeouts function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that Composer Stager is invoked with a long timeout.

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