Search for date

  1. Search 7.x for date
  2. Search 9.5.x for date
  3. Search 8.9.x for date
  4. Search 11.x for date
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Date class core/modules/views/src/Plugin/views/sort/Date.php Basic sort handler for dates.
Date class core/modules/views/src/Plugin/views/field/Date.php A handler to provide proper displays for dates.
Date class core/modules/views/src/Plugin/views/filter/Date.php Filter to handle dates stored as a timestamp.
Date class core/modules/views/src/Plugin/views/argument/Date.php Argument handler for dates.
Date class core/modules/datetime/src/Plugin/views/sort/Date.php Basic sort handler for datetime fields.
Date class core/modules/datetime/src/Plugin/views/filter/Date.php Date/time views filter.
Date class core/modules/datetime/src/Plugin/views/argument/Date.php Abstract argument handler for dates.
Date class core/lib/Drupal/Core/Render/Element/Date.php Provides a form element for date selection.

All search results

Title Object type File name Summary
DateRangeFieldTest::getTestFieldType function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Returns the type of field to be tested.
DateRangeFieldTest::setUp function core/modules/datetime_range/tests/src/FunctionalJavascript/DateRangeFieldTest.php
DateRangeFieldTest::testAlldayRangeField function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests all-day field.
DateRangeFieldTest::testDatelistWidget function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests Date Range List Widget functionality.
DateRangeFieldTest::testDateRangeField function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests date field functionality.
DateRangeFieldTest::testDateStorageSettings function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests that 'Date' field storage setting form is disabled if field has data.
DateRangeFieldTest::testDatetimeRangeField function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests date and time field.
DateRangeFieldTest::testDefaultValue function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests default value functionality.
DateRangeFieldTest::testFromSetting function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests displaying dates with the 'from_to' setting.
DateRangeFieldTest::testFromToSeparatorState function core/modules/datetime_range/tests/src/FunctionalJavascript/DateRangeFieldTest.php Tests the conditional visibility of the 'Date separator' field.
DateRangeFieldTest::testInvalidField function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests that invalid values are caught and marked as invalid.
DateRangeFormatterSettingsUpdateTest class core/modules/datetime_range/tests/src/Functional/DateRangeFormatterSettingsUpdateTest.php Tests the update path for daterange formatter settings.
DateRangeFormatterSettingsUpdateTest.php file core/modules/datetime_range/tests/src/Functional/DateRangeFormatterSettingsUpdateTest.php
DateRangeFormatterSettingsUpdateTest::$defaultTheme property core/modules/datetime_range/tests/src/Functional/DateRangeFormatterSettingsUpdateTest.php The theme to install as the default for testing.
DateRangeFormatterSettingsUpdateTest::$modules property core/modules/datetime_range/tests/src/Functional/DateRangeFormatterSettingsUpdateTest.php Modules to install after the database is loaded.
DateRangeFormatterSettingsUpdateTest::setDatabaseDumpFiles function core/modules/datetime_range/tests/src/Functional/DateRangeFormatterSettingsUpdateTest.php Set database dump files to be used.
DateRangeFormatterSettingsUpdateTest::testPostUpdateDateRangeFormatter function core/modules/datetime_range/tests/src/Functional/DateRangeFormatterSettingsUpdateTest.php Tests update path for the 'from_to' formatter setting.
DateRangeItem class core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Plugin implementation of the 'daterange' field type.
DateRangeItem.php file core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php
DateRangeItem::DATETIME_TYPE_ALLDAY constant core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Value for the 'datetime_type' setting: store a date and time.
DateRangeItem::generateSampleValue function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Generates placeholder field values.
DateRangeItem::isEmpty function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Determines whether the data structure is empty.
DateRangeItem::onChange function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php React to changes to a child property or item.
DateRangeItem::propertyDefinitions function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Defines field item properties.
DateRangeItem::schema function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Returns the schema for the field.
DateRangeItem::storageSettingsForm function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Returns a form for the storage-level settings.
DateRangeItemTest class core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php Test datetime range field type via API.
DateRangeItemTest.php file core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php
DateRangeItemTest::$field property core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php The field used in this test class.
DateRangeItemTest::$fieldStorage property core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php A field storage to use in this test class.
DateRangeItemTest::$modules property core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php Modules to install.
DateRangeItemTest::setUp function core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php Set the default field storage backend for fields created during tests.
DateRangeItemTest::testDateOnly function core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php Tests the field configured for date-only.
DateRangePlainFormatter class core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Plugin implementation of the 'Plain' formatter for 'daterange' fields.
DateRangePlainFormatter.php file core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php
DateRangePlainFormatter::defaultSettings function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Defines the default settings for this plugin.
DateRangePlainFormatter::settingsForm function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Returns a form to configure settings for the formatter.
DateRangePlainFormatter::settingsSummary function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Returns a short summary for the current formatter settings.
DateRangePlainFormatter::viewElements function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Builds a renderable array for a field value.
DateRangeWidgetBase class core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Base class for the 'daterange_*' widgets.
DateRangeWidgetBase.php file core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php
DateRangeWidgetBase::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Returns the form for a single field widget.
DateRangeWidgetBase::massageFormValues function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Massages the form values into the format expected for field values.
DateRangeWidgetBase::validateStartEnd function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php #element_validate callback to ensure that the start date <= the end date.
DateSqlInterface interface core/modules/views/src/Plugin/views/query/DateSqlInterface.php Defines an interface for handling date queries with SQL.
DateSqlInterface.php file core/modules/views/src/Plugin/views/query/DateSqlInterface.php
DateSqlInterface::getDateField function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Returns a native database expression for a given field.
DateSqlInterface::getDateFormat function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Creates a native database date formatting.
DateSqlInterface::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Applies the given offset to the given field.
DateSqlInterface::setTimezoneOffset function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Set the database to the given timezone.

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