Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| DateRangeFieldTest::testDateRangeField | function | core/ |
Tests date field functionality. |
| DateRangeFieldTest::testDateStorageSettings | function | core/ |
Tests that 'Date' field storage setting form is disabled if field has data. |
| DateRangeFieldTest::testDatetimeRangeField | function | core/ |
Tests date and time field. |
| DateRangeFieldTest::testDefaultValue | function | core/ |
Test default value functionality. |
| DateRangeFieldTest::testInvalidField | function | core/ |
Test that invalid values are caught and marked as invalid. |
| DateRangeItem | class | core/ |
Plugin implementation of the 'daterange' field type. |
| DateRangeItem.php | file | core/ |
|
| DateRangeItem::DATETIME_TYPE_ALLDAY | constant | core/ |
Value for the 'datetime_type' setting: store a date and time. |
| DateRangeItem::generateSampleValue | function | core/ |
Generates placeholder field values. |
| DateRangeItem::isEmpty | function | core/ |
Determines whether the data structure is empty. |
| DateRangeItem::onChange | function | core/ |
React to changes to a child property or item. |
| DateRangeItem::propertyDefinitions | function | core/ |
Defines field item properties. |
| DateRangeItem::schema | function | core/ |
Returns the schema for the field. |
| DateRangeItem::storageSettingsForm | function | core/ |
Returns a form for the storage-level settings. |
| DateRangeItemTest | class | core/ |
Test datetime range field type via API. |
| DateRangeItemTest.php | file | core/ |
|
| DateRangeItemTest::$field | property | core/ |
The field used in this test class. |
| DateRangeItemTest::$fieldStorage | property | core/ |
A field storage to use in this test class. |
| DateRangeItemTest::$modules | property | core/ |
Modules to enable. |
| 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 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/ |
Pagination
- Previous page
- Page 349
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.