Search for date
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Date | class | core/ |
Basic sort handler for dates. |
| Date | class | core/ |
A handler to provide proper displays for dates. |
| Date | class | core/ |
Filter to handle dates stored as a timestamp. |
| Date | class | core/ |
Argument handler for dates. |
| Date | class | core/ |
Basic sort handler for datetime fields. |
| Date | class | core/ |
Date/time views filter. |
| Date | class | core/ |
Abstract argument handler for dates. |
| Date | class | core/ |
Provides a form element for date selection. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| DateRangeItemTest::setUp | function | core/ |
Set the default field storage backend for fields created during tests. |
| DateRangeItemTest::testDateOnly | function | core/ |
Tests the field configured for date-only. |
| DateRangePlainFormatter | class | core/ |
Plugin implementation of the 'Plain' formatter for 'daterange' fields. |
| DateRangePlainFormatter.php | file | core/ |
|
| DateRangePlainFormatter::defaultSettings | function | core/ |
Defines the default settings for this plugin. |
| DateRangePlainFormatter::settingsForm | function | core/ |
Returns a form to configure settings for the formatter. |
| DateRangePlainFormatter::settingsSummary | function | core/ |
Returns a short summary for the current formatter settings. |
| DateRangePlainFormatter::viewElements | function | core/ |
Builds a renderable array for a field value. |
| DateRangeWidgetBase | class | core/ |
Base class for the 'daterange_*' widgets. |
| DateRangeWidgetBase.php | file | core/ |
|
| DateRangeWidgetBase::formElement | function | core/ |
Returns the form for a single field widget. |
| DateRangeWidgetBase::massageFormValues | function | core/ |
Massages the form values into the format expected for field values. |
| DateRangeWidgetBase::validateStartEnd | function | core/ |
#element_validate callback to ensure that the start date <= the end date. |
| DateSqlInterface | interface | core/ |
Defines an interface for handling date queries with SQL. |
| DateSqlInterface.php | file | core/ |
|
| DateSqlInterface::getDateField | function | core/ |
Returns a native database expression for a given field. |
| DateSqlInterface::getDateFormat | function | core/ |
Creates a native database date formatting. |
| DateSqlInterface::setFieldTimezoneOffset | function | core/ |
Applies the given offset to the given field. |
| DateSqlInterface::setTimezoneOffset | function | core/ |
Set the database to the given timezone. |
| DateTest | class | core/ |
@coversDefaultClass \Drupal\Core\Datetime\DateFormatter[[api-linebreak]] @group Datetime |
| DateTest.php | file | core/ |
|
| DateTest::$dateFormatter | property | core/ |
The mocked date formatter class. |
| DateTest::$dateFormatterStub | property | core/ |
The date formatter class where methods can be stubbed. |
| DateTest::$entityTypeManager | property | core/ |
The mocked entity type manager. |
| DateTest::$languageManager | property | core/ |
The mocked language manager. |
| DateTest::$requestStack | property | core/ |
The mocked string translation. |
| DateTest::$stringTranslation | property | core/ |
The mocked string translation. |
| DateTest::createTimestamp | function | core/ |
Creates a UNIX timestamp given a date and time string. |
| DateTest::providerTestFormatDiff | function | core/ |
Data provider for testFormatDiff(). |
| DateTest::providerTestFormatInterval | function | core/ |
Provides some test data for the format interval test. |
| DateTest::setUp | function | core/ |
|
| DateTest::testFormatDiff | function | core/ |
Tests the formatDiff method. |
| DateTest::testFormatInterval | function | core/ |
Tests the formatInterval method. |
| DateTest::testFormatIntervalZeroSecond | function | core/ |
Tests the formatInterval method for 0 second. |
| DateTest::testFormattedDateDiff | function | core/ |
Tests FormattedDateDiff. |
| DateTest::testFormatTimeDiffSince | function | core/ |
Tests the formatTimeDiffSince method. |
| DateTest::testFormatTimeDiffUntil | function | core/ |
Tests the formatTimeDiffUntil method. |
| DateTest::testGetSampleDateFormats | function | core/ |
Tests the getSampleDateFormats method. |
| DateTestBase | class | core/ |
Provides a base class for testing Datetime field functionality. |
| DateTestBase.php | file | core/ |
|
| DateTestBase::$dateFormatter | property | core/ |
The date formatter service. |
| DateTestBase::$displayOptions | property | core/ |
An array of display options. |
| DateTestBase::$field | property | core/ |
The field used in this test class. |
| DateTestBase::$fieldStorage | property | core/ |
A field storage to use in this test class. |
| DateTestBase::$modules | property | core/ |
Modules to enable. |
| DateTestBase::$timezones | property | core/ |
An array of timezone extremes to test. |
| DateTestBase::createField | function | core/ |
Creates a date test field. |
| DateTestBase::getTestFieldType | function | core/ |
Returns the type of field to be tested. |
| DateTestBase::massageTestDate | function | core/ |
Massages test date values. |
| DateTestBase::renderTestEntity | function | core/ |
Renders an entity_test and sets the output in the internal browser. |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.