Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| DateTimePlusTest::testDateTimezone | function | core/ |
Tests that DrupalDateTime can detect the right timezone to use. |
| DateTimePlusTest::testDateTimezoneWithDateTimeObject | function | core/ |
Tests that DrupalDateTime can detect the correct timezone to use. |
| DateTimePlusTest::testDefaultDateTime | function | core/ |
Tests setting the default time for date-only objects. |
| DateTimePlusTest::testGetPhpDateTime | function | core/ |
@covers ::getPhpDateTime[[api-linebreak]] |
| DateTimePlusTest::testInvalidConstructor | function | core/ |
Tests invalid values passed to constructor. |
| DateTimePlusTest::testInvalidDateArrays | function | core/ |
Tests creating dates from invalid array input. |
| DateTimePlusTest::testInvalidDateDiff | function | core/ |
Tests date diff exception caused by invalid input. |
| DateTimePlusTest::testInvalidDates | function | core/ |
Tests invalid date handling. |
| DateTimePlusTest::testTimestamp | function | core/ |
Tests creating dates from timestamps, and manipulating timezones. |
| DateTimePlusTest::testValidateFormat | function | core/ |
Tests the $settings['validate_format'] parameter in ::createFromFormat(). |
| DateTimeRangeTrait | trait | core/ |
Provides friendly methods for datetime range. |
| DateTimeRangeTrait.php | file | core/ |
|
| DateTimeRangeTrait::viewElements | function | core/ |
|
| DateTimeSchemaTest | class | core/ |
Tests the Drupal\datetime\Plugin\views schemas. |
| DateTimeSchemaTest.php | file | core/ |
|
| DateTimeSchemaTest::$testViews | property | core/ |
Views to be enabled. |
| DateTimeSchemaTest::testDateTimeSchema | function | core/ |
Tests argument plugin schema. |
| DateTimeTest | class | core/ |
Test date formatting and time zone handling, including daylight saving time. |
| DateTimeTest.php | file | core/ |
|
| DateTimeTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| DateTimeTest::$modules | property | core/ |
Modules to enable. |
| DateTimeTest::setUp | function | core/ |
|
| DateTimeTest::testDateFormatConfiguration | function | core/ |
Tests date format configuration. |
| DateTimeTest::testEnteringDateTimeViaSelectors | function | core/ |
Tests handling case with invalid data in selectors (like February, 31st). |
| DateTimeTest::testTimeZoneHandling | function | core/ |
Tests time zones and DST handling. |
| DateTimeTimeAgoFormatter | class | core/ |
Plugin implementation of the 'Time ago' formatter for 'datetime' fields. |
| DateTimeTimeAgoFormatter.php | file | core/ |
|
| DateTimeTimeAgoFormatter::formatDate | function | core/ |
Formats a date/time as a time interval. |
| DateTimeTimeAgoFormatter::viewElements | function | core/ |
Builds a renderable array for a field value. |
| DateTimeTimeAgoFormatterTest | class | core/ |
Tests the functionality of DateTimeTimeAgoFormatter field formatter. |
| DateTimeTimeAgoFormatterTest.php | file | core/ |
|
| DateTimeTimeAgoFormatterTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| DateTimeTimeAgoFormatterTest::$displayOptions | property | core/ |
An array of field formatter display options. |
| DateTimeTimeAgoFormatterTest::$field | property | core/ |
The field used in this test class. |
| DateTimeTimeAgoFormatterTest::$fieldStorage | property | core/ |
A field storage to use in this test class. |
| DateTimeTimeAgoFormatterTest::$modules | property | core/ |
Modules to enable. |
| DateTimeTimeAgoFormatterTest::setUp | function | core/ |
|
| DateTimeTimeAgoFormatterTest::testSettings | function | core/ |
Tests the formatter settings. |
| DateTimeWidgetBase | class | core/ |
Base class for the 'datetime_*' widgets. |
| DateTimeWidgetBase.php | file | core/ |
|
| DateTimeWidgetBase::createDefaultValue | function | core/ |
Creates a date object for use as a default value. |
| DateTimeWidgetBase::formElement | function | core/ |
Returns the form for a single field widget. |
| DateTimeWidgetBase::massageFormValues | function | core/ |
Massages the form values into the format expected for field values. |
| DateTimeWidgetTest | class | core/ |
Tests Datetime widgets functionality. |
| DateTimeWidgetTest.php | file | core/ |
|
| DateTimeWidgetTest::$defaultSettings | property | core/ |
The default display settings to use for the formatters. |
| DateTimeWidgetTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| DateTimeWidgetTest::getTestFieldType | function | core/ |
Returns the type of field to be tested. |
| DateTimeWidgetTest::testDateonlyDefaultValue | function | core/ |
Test default value functionality. |
| datetime_field_views_data | function | core/ |
Implements hook_field_views_data(). |
Pagination
- Previous page
- Page 369
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.