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
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
AccountProxy::getTimeZone function core/lib/Drupal/Core/Session/AccountProxy.php
AjaxCallbacksTest::testDateTimeAjaxCallback function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxCallbacksTest.php Tests if Ajax callback works on datetime element.
AliasManager::getRequestTime function core/modules/path_alias/src/AliasManager.php Wrapper method for REQUEST_TIME constant.
Announcement::getDatePublishedTimestamp function core/modules/announcements_feed/src/Announcement.php Gets the published date in timestamp format.
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 Tests year, month, and day arguments combined.
ArgumentDateTimeTest::testDatetimeArgumentDay function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Tests day argument.
ArgumentDateTimeTest::testDatetimeArgumentFullDate function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Tests full_date CCYYMMDD argument.
ArgumentDateTimeTest::testDatetimeArgumentMonth function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Tests month argument.
ArgumentDateTimeTest::testDatetimeArgumentWeek function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Tests week WW argument.
ArgumentDateTimeTest::testDatetimeArgumentYear function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Tests year argument.
ArgumentDateTimeTest::testDatetimeArgumentYearMonth function core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php Tests year_month CCYYMM argument.
BatchStorage::$time property core/lib/Drupal/Core/Batch/BatchStorage.php The time service.
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.
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.
CKEditor5TestBase::assertNoRealtimeValidationErrors function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5TestBase.php Checks that no real-time validation errors are present.
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.
ConfigTranslationViewListUiTest::testTimestampFormatterTranslation function core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php Test to ensure that TimestampFormatter translation works.
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.
ContentTranslationMetadataWrapperInterface::getChangedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Returns the timestamp of the last entity change from current translation.
ContentTranslationMetadataWrapperInterface::getCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Returns the translation creation timestamp.

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