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
DateTimeRangeTrait::endDateIsDisplayed function core/modules/datetime_range/src/DateTimeRangeTrait.php Gets whether the end date should be displayed.
DateTimeRangeTrait::getFromToOptions function core/modules/datetime_range/src/DateTimeRangeTrait.php Returns a list of possible values for the 'from_to' setting.
DateTimeRangeTrait::renderStartEnd function core/modules/datetime_range/src/DateTimeRangeTrait.php Creates a render array given start/end dates.
DateTimeRangeTrait::renderStartEndWithIsoAttribute function core/modules/datetime_range/src/DateTimeRangeTrait.php Creates a render array with ISO attributes given start/end dates.
DateTimeRangeTrait::startDateIsDisplayed function core/modules/datetime_range/src/DateTimeRangeTrait.php Gets whether the start date should be displayed.
DateTimeRangeTrait::viewElements function core/modules/datetime_range/src/DateTimeRangeTrait.php
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 Tests argument plugin schema.
DateTimeTest class core/modules/system/tests/src/Functional/System/DateTimeTest.php 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 install.
DateTimeTest::setUp function core/modules/system/tests/src/Functional/System/DateTimeTest.php
DateTimeTest::testDateFormatConfiguration function core/modules/system/tests/src/Functional/System/DateTimeTest.php Tests date format configuration.
DateTimeTest::testEnteringDateTimeViaSelectors function core/modules/system/tests/src/Functional/System/DateTimeTest.php Tests handling case with invalid data in selectors (like February, 31st).
DateTimeTest::testTimeZoneHandling function core/modules/system/tests/src/Functional/System/DateTimeTest.php Tests 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 install.
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.
DateTimeWidgetTest class core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php Tests Datetime widgets functionality.
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_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.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_entity_view_display_presave function core/modules/datetime_range/datetime_range.module Implements hook_ENTITY_TYPE_presave() for entity_view_display entities.

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