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
Title Object type File name Summary
AliasManager::getRequestTime function core/lib/Drupal/Core/Path/AliasManager.php Wrapper method for REQUEST_TIME constant.
ContentTranslationUITestBase::doTestChangedTimeAfterSaveWithoutChanges function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Test the changed time after API and FORM save without changes.
DateTestBase::$timezones property core/modules/datetime/src/Tests/DateTestBase.php An array of timezone extremes to test.
DateTestBase::setSiteTimezone function core/modules/datetime/src/Tests/DateTestBase.php Sets the site timezone to a given timezone.
DateTimeHandlerTestBase class core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php Base class for testing datetime handlers.
DateTimeHandlerTestBase.php file core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php
DateTimeHandlerTestBase::$field_name property core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php Name of the field.
DateTimeHandlerTestBase::$modules property core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php Modules to enable.
DateTimeHandlerTestBase::$nodes property core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php Nodes to test.
DateTimeHandlerTestBase::setUp function core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php Sets up a Drupal site for running functional and integration tests.
DatetimeRangeViewUpdateTest class core/modules/datetime_range/tests/src/Functional/Update/DatetimeRangeViewUpdateTest.php Test update of views with datetime_range filters.
DatetimeRangeViewUpdateTest.php file core/modules/datetime_range/tests/src/Functional/Update/DatetimeRangeViewUpdateTest.php
DatetimeRangeViewUpdateTest::setDatabaseDumpFiles function core/modules/datetime_range/tests/src/Functional/Update/DatetimeRangeViewUpdateTest.php Set database dump files to be used.
DatetimeRangeViewUpdateTest::testViewsPostUpdateDateRangeFilterValues function core/modules/datetime_range/tests/src/Functional/Update/DatetimeRangeViewUpdateTest.php Tests that datetime_range filter values are updated properly.
datetime_range-filter-values.php file core/modules/datetime_range/tests/fixtures/update/datetime_range-filter-values.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/2786577.
HistoryLegacyTest::testHistoryAttachTimestamp function core/modules/history/tests/src/Kernel/HistoryLegacyTest.php Tests history_attach_timestamp() deprecation.
LegacyFunctionsTest::testDrupalSetTimeLimit function core/tests/Drupal/KernelTests/Core/Common/LegacyFunctionsTest.php @expectedDeprecation drupal_set_time_limit() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Component\Utility\Environment::setTimeLimit() instead. See https://www.drupal.org/node/3000058.
@doesNotPerformAssertions
TestBase::$timeLimit property core/modules/simpletest/src/TestBase.php Time limit for the test.
TimeStampItemNormalizerTrait trait core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php A trait for TimestampItem normalization functionality.
TimeStampItemNormalizerTrait.php file core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php
TimeStampItemNormalizerTrait::$allowedFormats property core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php Allowed timestamps formats for the denormalizer.
TimeStampItemNormalizerTrait::constructValue function core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php
TimeStampItemNormalizerTrait::processNormalizedValues function core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php Processes normalized timestamp values to add a formatted date and format.
TimeStampItemNormalizerTraitDeprecatedTest class core/modules/serialization/tests/src/Unit/Normalizer/TimeStampItemNormalizerTraitDeprecatedTest.php Tests that TimeStampItemNormalizerTrait throws a deprecation error.
TimeStampItemNormalizerTraitDeprecatedTest.php file core/modules/serialization/tests/src/Unit/Normalizer/TimeStampItemNormalizerTraitDeprecatedTest.php
TimeStampItemNormalizerTraitDeprecatedTest::testDeprecated function core/modules/serialization/tests/src/Unit/Normalizer/TimeStampItemNormalizerTraitDeprecatedTest.php Tests that TimeStampItemNormalizerTrait throws a deprecation error.
TimeStampItemNormalizerTraitDeprecatedTestClass class core/modules/serialization/tests/serialization_test/src/TimeStampItemNormalizerTraitDeprecatedTestClass.php For testing that TimeStampItemNormalizerTrait throws a deprecation error.
TimeStampItemNormalizerTraitDeprecatedTestClass.php file core/modules/serialization/tests/serialization_test/src/TimeStampItemNormalizerTraitDeprecatedTestClass.php
TimeZoneDeprecationTest class core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php Tests deprecated methods in bootstrap throw deprecation warnings.
TimeZoneDeprecationTest.php file core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php
TimeZoneDeprecationTest::$modules property core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php Modules to enable.
TimeZoneDeprecationTest::testDeprecation function core/modules/system/tests/src/Kernel/TimeZoneDeprecationTest.php @expectedDeprecation drupal_get_user_timezone() is deprecated in drupal:8.8.0. It will be removed from drupal:9.0.0. Use date_default_timezone_get() instead. See https://www.drupal.org/node/3009387
TimeZoneTest class core/modules/simpletest/src/Tests/TimeZoneTest.php This test will check WebTestBase's default time zone handling.
TimeZoneTest.php file core/modules/simpletest/src/Tests/TimeZoneTest.php
TimeZoneTest::$adminUser property core/modules/simpletest/src/Tests/TimeZoneTest.php A user with administrative privileges.
TimeZoneTest::setUp function core/modules/simpletest/src/Tests/TimeZoneTest.php Sets up a Drupal site for running functional and integration tests.
TimeZoneTest::testAccountTimeZones function core/modules/simpletest/src/Tests/TimeZoneTest.php Tests that user accounts have the default time zone set.
views.view.test_datetime_range_filter_values.yml file core/modules/datetime_range/tests/fixtures/update/views.view.test_datetime_range_filter_values.yml core/modules/datetime_range/tests/fixtures/update/views.view.test_datetime_range_filter_values.yml

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