Search for time

  1. Search 7.x for time
  2. Search 9.5.x for time
  3. Search 10.3.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
AccountInterface::getLastAccessedTime function core/lib/Drupal/Core/Session/AccountInterface.php The timestamp when the account last accessed the site.
AccountInterface::getTimeZone function core/lib/Drupal/Core/Session/AccountInterface.php Returns the timezone of this account.
AccountProxy::getLastAccessedTime function core/lib/Drupal/Core/Session/AccountProxy.php The timestamp when the account last accessed the site.
AccountProxy::getTimeZone function core/lib/Drupal/Core/Session/AccountProxy.php Returns the timezone of this account.
AjaxCallbacksTest::testDateTimeAjaxCallback function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxCallbacksTest.php Tests if Ajax callback works on datetime element.
AliasManager::getRequestTime function core/lib/Drupal/Core/Path/AliasManager.php Wrapper method for REQUEST_TIME constant.
ArgumentDateTimeTest class core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Tests the Drupal\datetime\Plugin\views\filter\Date handler.
ArgumentDateTimeTest.php file core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
ArgumentDateTimeTest::$testViews property core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Views to be enabled.
ArgumentDateTimeTest::setUp function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
ArgumentDateTimeTest::testDatetimeArgumentAll function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Test year, month, and day arguments combined.
ArgumentDateTimeTest::testDatetimeArgumentDay function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Test day argument.
ArgumentDateTimeTest::testDatetimeArgumentFullDate function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Test full_date CCYYMMDD argument.
ArgumentDateTimeTest::testDatetimeArgumentMonth function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Test month argument.
ArgumentDateTimeTest::testDatetimeArgumentWeek function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Test week WW argument.
ArgumentDateTimeTest::testDatetimeArgumentYear function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Test year argument.
ArgumentDateTimeTest::testDatetimeArgumentYearMonth function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Test year_month CCYYMM argument.
BcTimestampNormalizerUnixTestTrait trait core/modules/rest/tests/src/Functional/BcTimestampNormalizerUnixTestTrait.php Trait for ResourceTestBase subclasses formatting expected timestamp data.
BcTimestampNormalizerUnixTestTrait.php file core/modules/rest/tests/src/Functional/BcTimestampNormalizerUnixTestTrait.php
BcTimestampNormalizerUnixTestTrait::formatExpectedTimestampItemValues function core/modules/rest/tests/src/Functional/BcTimestampNormalizerUnixTestTrait.php Formats a UNIX timestamp.
BigPipeRegressionTestController::currentTime function core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php #lazy_builder callback; builds <time> markup with current time.
BigPipeTestController::currentTime function core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php #lazy_builder callback; builds <time> markup with current time.
BlockContent::getRevisionCreationTime function core/modules/block_content/src/Entity/BlockContent.php Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime().
BlockContent::setRevisionCreationTime function core/modules/block_content/src/Entity/BlockContent.php Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime().
BrowserTestBase::$timeLimit property core/tests/Drupal/Tests/BrowserTestBase.php Time limit in seconds for the test.
BrowserTestBaseTest::testLocalTimeZone function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Tests the assumption that local time is in 'Australia/Sydney'.
CacheTest::testTimeResultCaching function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Tests time based caching.
CacheTest::testTimeResultCachingWithFilter function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Tests result caching with filters.
CacheTest::testTimeResultCachingWithPager function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Tests result caching with a pager.
cache_context.timezone service core/core.services.yml Drupal\Core\Cache\Context\TimeZoneCacheContext
Callbacks::datetimeCallback function core/modules/system/tests/modules/ajax_forms_test/src/Callbacks.php Ajax callback triggered by datetime.
ChainedFastBackend::$lastWriteTimestamp property core/lib/Drupal/Core/Cache/ChainedFastBackend.php The time at which the last write to this cache bin happened.
ChainedFastBackend::getLastWriteTimestamp function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Gets the last write timestamp.
ChainedFastBackend::LAST_WRITE_TIMESTAMP_PREFIX constant core/lib/Drupal/Core/Cache/ChainedFastBackend.php Cache key prefix for the bin-specific entry to track the last write.
claro_preprocess_datetime_wrapper function core/themes/claro/claro.theme Implements template_preprocess_HOOK() for datetime_wrapper.
Comment::getCreatedTime function core/modules/comment/src/Entity/Comment.php Returns the time that the comment was created.
Comment::setCreatedTime function core/modules/comment/src/Entity/Comment.php Sets the creation date of the comment.
CommentInterface::getCreatedTime function core/modules/comment/src/CommentInterface.php Returns the time that the comment was created.
CommentInterface::setCreatedTime function core/modules/comment/src/CommentInterface.php Sets the creation date of the comment.
CommentLinkBuilderTest::$timestamp property core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php Timestamp used in test.
Composer::removeTimeout function core/lib/Drupal/Core/Composer/Composer.php Removes Composer's timeout so that scripts can run indefinitely.
ContainerTest::testGetForNonExistentServiceMultipleTimes function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests multiple Container::get() calls for non-existing dependencies work.
ContentEntityForm::$time property core/lib/Drupal/Core/Entity/ContentEntityForm.php The time service.
ContentEntityForm::updateChangedTime function core/lib/Drupal/Core/Entity/ContentEntityForm.php Updates the changed time of the entity.
ContentTranslationHandler::hasChangedTime function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports modification time natively.
ContentTranslationHandler::hasCreatedTime function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports creation time natively.
ContentTranslationMetadataWrapper::getChangedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the timestamp of the last entity change from current translation.
ContentTranslationMetadataWrapper::getCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation creation timestamp.
ContentTranslationMetadataWrapper::setChangedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation modification timestamp.
ContentTranslationMetadataWrapper::setCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation creation timestamp.

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