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
DateTimeWidgetTest.php file core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php
DateTimeWidgetTest::$defaultSettings property core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php The default display settings to use for the formatters.
DateTimeWidgetTest::$defaultTheme property core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php The theme to install as the default for testing.
DateTimeWidgetTest::getTestFieldType function core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php Returns the type of field to be tested.
DateTimeWidgetTest::testDateOnlyDefaultValue function core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php Test default value functionality.
datetime_help function core/modules/datetime/datetime.module Implements hook_help().
datetime_range.info.yml file core/modules/datetime_range/datetime_range.info.yml core/modules/datetime_range/datetime_range.info.yml
datetime_range.module file core/modules/datetime_range/datetime_range.module Field hooks to implement a datetime field that stores a start and end date.
datetime_range.post_update.php file core/modules/datetime_range/datetime_range.post_update.php Post-update functions for Datetime Range module.
datetime_range.schema.yml file core/modules/datetime_range/config/schema/datetime_range.schema.yml core/modules/datetime_range/config/schema/datetime_range.schema.yml
datetime_range.views.inc file core/modules/datetime_range/datetime_range.views.inc Provides views data for the datetime_range module.
datetime_range_field_views_data function core/modules/datetime_range/datetime_range.views.inc Implements hook_field_views_data().
datetime_range_help function core/modules/datetime_range/datetime_range.module Implements hook_help().
datetime_range_removed_post_updates function core/modules/datetime_range/datetime_range.post_update.php Implements hook_removed_post_updates().
datetime_range_test.info.yml file core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.info.yml core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.info.yml
datetime_range_test.module file core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.module
datetime_range_test_entity_type_alter function core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.module Implements hook_entity_type_alter().
datetime_test.info.yml file core/modules/datetime/tests/modules/datetime_test/datetime_test.info.yml core/modules/datetime/tests/modules/datetime_test/datetime_test.info.yml
datetime_type_field_views_data_helper function core/modules/datetime/datetime.views.inc Provides Views integration for any datetime-based fields.
DbLogTest::testSameTimestampEntries function core/modules/dblog/tests/src/Functional/DbLogTest.php Tests sorting for entries with the same timestamp.
DefaultConfigTest::$timeLimit property core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php
DevReleaseTest::testSecurityUpdateEmptyProjectTimestamp function core/modules/update/tests/src/Kernel/DevReleaseTest.php Tests security updates are empty with a dev version and an empty timestamp.
drupal.timestamp-formatter-settings-2921810.php file core/modules/system/tests/fixtures/update/drupal.timestamp-formatter-settings-2921810.php Provides database changes for testing the TimestampFormatter upgrade path.
Drupal::time function core/lib/Drupal.php Returns the time service.
DrupalDateTime class core/lib/Drupal/Core/Datetime/DrupalDateTime.php Extends DateTimePlus().
DrupalDateTime.php file core/lib/Drupal/Core/Datetime/DrupalDateTime.php
DrupalDateTime::$formatTranslationCache property core/lib/Drupal/Core/Datetime/DrupalDateTime.php Formatted strings translation cache.
DrupalDateTime::format function core/lib/Drupal/Core/Datetime/DrupalDateTime.php Overrides format().
DrupalDateTime::prepareTimezone function core/lib/Drupal/Core/Datetime/DrupalDateTime.php Overrides prepareTimezone().
DrupalDateTime::__construct function core/lib/Drupal/Core/Datetime/DrupalDateTime.php Constructs a date object.
DrupalDateTime::__sleep function core/lib/Drupal/Core/Datetime/DrupalDateTime.php
DrupalDateTimeTest class core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Tests DrupalDateTime functionality.
DrupalDateTimeTest class core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php @coversDefaultClass \Drupal\Core\Datetime\DrupalDateTime
@group Datetime
DrupalDateTimeTest.php file core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php
DrupalDateTimeTest.php file core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php
DrupalDateTimeTest::$defaultTheme property core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php The theme to install as the default for testing.
DrupalDateTimeTest::$modules property core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Set up required modules.
DrupalDateTimeTest::providerTestDateDiff function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Provides data for date tests.
DrupalDateTimeTest::providerTestInvalidDateDiff function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Provides data for date tests.
DrupalDateTimeTest::setUp function core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Test setup.
DrupalDateTimeTest::testChainable function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests that object methods are chainable.
DrupalDateTimeTest::testChainableNonCallable function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests that chained calls to non-existent functions throw an exception.
DrupalDateTimeTest::testChainableNonChainable function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests that non-chainable methods work.
DrupalDateTimeTest::testDateDiff function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests date diffs.
DrupalDateTimeTest::testDateTimezone function core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Tests that DrupalDateTime can detect the right timezone to use.
DrupalDateTimeTest::testDefaultDateTime function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests setting the default time for date-only objects.
DrupalDateTimeTest::testGetPhpDateTime function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php @covers ::getPhpDateTime
DrupalDateTimeTest::testInvalidDateDiff function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests date diff exception caused by invalid input.
DrupalDateTimeTest::testRfc2822DateFormat function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Tests that an RFC2822 formatted date always returns an English string.
DrupalDateTimeTest::testSleep function core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php Test to avoid serialization of formatTranslationCache.

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