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
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.
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().

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