Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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 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 in the format year-month-day hour:minute:seconds (e.g. 2013-12-11 10:09:08). |
| 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. |
| DateTest::testLegacyMaxAgeFormattedDateDiff | function | core/ |
Tests FormattedDateDiff. |
| DateTestBase | class | core/ |
Provides a base class for testing Datetime field functionality. |
| DateTestBase | class | core/ |
Provides a base class for testing Datetime field functionality. |
| DateTestBase.php | file | core/ |
|
| DateTestBase.php | file | core/ |
|
| DateTestBase::$dateFormatter | property | core/ |
The date formatter service. |
| DateTestBase::$dateFormatter | property | core/ |
The date formatter service. |
| DateTestBase::$displayOptions | property | core/ |
An array of display options. |
| DateTestBase::$displayOptions | property | core/ |
An array of display options. |
| DateTestBase::$field | property | core/ |
The field used in this test class. |
| 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::$fieldStorage | property | core/ |
A field storage to use in this test class. |
| DateTestBase::$modules | property | core/ |
Modules to enable. |
| DateTestBase::$modules | property | core/ |
Modules to enable. |
| DateTestBase::$timezones | property | core/ |
An array of timezone extremes to test. |
| DateTestBase::$timezones | property | core/ |
An array of timezone extremes to test. |
| DateTestBase::createField | function | core/ |
Creates a date test field. |
Pagination
- Previous page
- Page 288
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.