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 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
MultipleStaticContext::getRuntimeContexts function core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php Gets runtime context values for the given context IDs.
MysqlDateSql::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/MysqlDateSql.php Applies the given offset to the given field.
MysqlDateSql::setTimezoneOffset function core/modules/views/src/Plugin/views/query/MysqlDateSql.php Set the database to the given timezone.
MysqlDateSqlTest::testSetFieldTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Tests timezone offset formatting.
MysqlDateSqlTest::testSetTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Tests setting the database offset.
Node::getCreatedTime function core/modules/node/src/Entity/Node.php Gets the node creation timestamp.
Node::setCreatedTime function core/modules/node/src/Entity/Node.php Sets the node creation timestamp.
NodeCounterTimestamp class core/modules/statistics/src/Plugin/views/field/NodeCounterTimestamp.php Field handler to display the most recent time the node has been viewed.
NodeCounterTimestamp.php file core/modules/statistics/src/Plugin/views/field/NodeCounterTimestamp.php
NodeCounterTimestamp::access function core/modules/statistics/src/Plugin/views/field/NodeCounterTimestamp.php Check whether given user has access to this handler.
NodeFormSaveChangedTimeTest class core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Tests updating the changed time after API and FORM entity save.
NodeFormSaveChangedTimeTest.php file core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
NodeFormSaveChangedTimeTest::$authorUser property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php A user with permissions to create and edit articles.
NodeFormSaveChangedTimeTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php The theme to install as the default for testing.
NodeFormSaveChangedTimeTest::$modules property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Modules to install.
NodeFormSaveChangedTimeTest::setUp function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
NodeFormSaveChangedTimeTest::testChangedTimeAfterSaveWithoutChanges function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Tests the changed time after API and FORM save without changes.
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.
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.
NodeStatisticsDatabaseStorage::getRequestTime function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php Get current request time.
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.
REQUEST_TIME constant core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch.
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.

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