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
DateTimeRangeTrait::viewElements function core/modules/datetime_range/src/DateTimeRangeTrait.php
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.
DateTimeSchemaTest class core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php Tests the Drupal\datetime\Plugin\views schemas.
DateTimeSchemaTest.php file core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php
DateTimeSchemaTest::$testViews property core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php Views to be enabled.
DateTimeSchemaTest::testDateTimeSchema function core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php Test argument plugin schema.
DateTimeTest class core/modules/system/tests/src/Functional/System/DateTimeTest.php Configure date and time settings. Test date formatting and time zone
handling, including daylight saving time.
DateTimeTest.php file core/modules/system/tests/src/Functional/System/DateTimeTest.php
DateTimeTest::$defaultTheme property core/modules/system/tests/src/Functional/System/DateTimeTest.php The theme to install as the default for testing.
DateTimeTest::$modules property core/modules/system/tests/src/Functional/System/DateTimeTest.php Modules to enable.
DateTimeTest::setUp function core/modules/system/tests/src/Functional/System/DateTimeTest.php
DateTimeTest::testDateFormatConfiguration function core/modules/system/tests/src/Functional/System/DateTimeTest.php Test date format configuration.
DateTimeTest::testEnteringDateTimeViaSelectors function core/modules/system/tests/src/Functional/System/DateTimeTest.php Test handling case with invalid data in selectors (like February, 31st).
DateTimeTest::testTimeZoneHandling function core/modules/system/tests/src/Functional/System/DateTimeTest.php Test time zones and DST handling.
DateTimeTimeAgoFormatter class core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php Plugin implementation of the 'Time ago' formatter for 'datetime' fields.
DateTimeTimeAgoFormatter.php file core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php
DateTimeTimeAgoFormatter::formatDate function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php Formats a date/time as a time interval.
DateTimeTimeAgoFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php Builds a renderable array for a field value.
DateTimeTimeAgoFormatterTest class core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php Tests the functionality of DateTimeTimeAgoFormatter field formatter.
DateTimeTimeAgoFormatterTest.php file core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php
DateTimeTimeAgoFormatterTest::$defaultTheme property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php The theme to install as the default for testing.
DateTimeTimeAgoFormatterTest::$displayOptions property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php An array of field formatter display options.
DateTimeTimeAgoFormatterTest::$field property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php The field used in this test class.
DateTimeTimeAgoFormatterTest::$fieldStorage property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php A field storage to use in this test class.
DateTimeTimeAgoFormatterTest::$modules property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php Modules to enable.
DateTimeTimeAgoFormatterTest::setUp function core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php
DateTimeTimeAgoFormatterTest::testSettings function core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php Tests the formatter settings.
DateTimeWidgetBase class core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Base class for the 'datetime_*' widgets.
DateTimeWidgetBase.php file core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php
DateTimeWidgetBase::createDefaultValue function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Creates a date object for use as a default value.
DateTimeWidgetBase::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Returns the form for a single field widget.
DateTimeWidgetBase::massageFormValues function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Massages the form values into the format expected for field values.
DATETIME_DATETIME_STORAGE_FORMAT constant core/modules/datetime/datetime.module Defines the format that date and time should be stored in.
datetime_date_default_time function core/modules/datetime/datetime.module Sets a consistent time on a date without time.
DATETIME_DATE_STORAGE_FORMAT constant core/modules/datetime/datetime.module Defines the format that dates should be stored in.
datetime_field_views_data function core/modules/datetime/datetime.views.inc Implements hook_field_views_data().
datetime_help function core/modules/datetime/datetime.module Implements hook_help().
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.
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_post_update_translatable_separator function core/modules/datetime_range/datetime_range.post_update.php Clear caches to ensure schema changes are read.
datetime_range_post_update_views_string_plugin_id function core/modules/datetime_range/datetime_range.post_update.php Update existing views using datetime_range fields.

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