DateRangeDatelistWidget.php |
file |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php |
|
DateRangeDatelistWidget::defaultSettings |
function |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php |
Defines the default settings for this plugin. |
DateRangeDatelistWidget::formElement |
function |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php |
Returns the form for a single field widget. |
DateRangeDatelistWidget::settingsForm |
function |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php |
Returns a form to configure settings for the widget. |
DateRangeDatelistWidget::settingsSummary |
function |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php |
Returns a short summary for the current widget settings. |
DateRangeDefaultFormatter |
class |
core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php |
Plugin implementation of the 'Default' formatter for 'daterange' fields. |
DateRangeDefaultFormatter.php |
file |
core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php |
|
DateRangeDefaultFormatter::defaultSettings |
function |
core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php |
Defines the default settings for this plugin. |
DateRangeDefaultFormatter::settingsForm |
function |
core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php |
Returns a form to configure settings for the formatter. |
DateRangeDefaultFormatter::settingsSummary |
function |
core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php |
Returns a short summary for the current formatter settings. |
DateRangeDefaultWidget |
class |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php |
Plugin implementation of the 'daterange_default' widget. |
DateRangeDefaultWidget.php |
file |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php |
|
DateRangeDefaultWidget::$dateStorage |
property |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php |
The date format storage. |
DateRangeDefaultWidget::create |
function |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php |
Creates an instance of the plugin. |
DateRangeDefaultWidget::formElement |
function |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php |
Returns the form for a single field widget. |
DateRangeDefaultWidget::__construct |
function |
core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php |
Constructs a WidgetBase object. |
DateRangeFieldItemList |
class |
core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeFieldItemList.php |
Represents a configurable entity daterange field. |
DateRangeFieldItemList.php |
file |
core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeFieldItemList.php |
|
DateRangeFieldItemList::defaultValuesForm |
function |
core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeFieldItemList.php |
Returns a form for the default value input. |
DateRangeFieldItemList::defaultValuesFormSubmit |
function |
core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeFieldItemList.php |
Processes the submitted default value. |
DateRangeFieldItemList::defaultValuesFormValidate |
function |
core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeFieldItemList.php |
Validates the submitted default value. |
DateRangeFieldItemList::processDefaultValue |
function |
core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeFieldItemList.php |
Processes the default value before being applied. |
DateRangeFieldTest |
class |
core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php |
Tests Daterange field functionality. |
DateRangeFieldTest.php |
file |
core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php |
|
DateRangeFieldTest::$defaultSettings |
property |
core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php |
The default display settings to use for the formatters. |
DateRangeFieldTest::$defaultTheme |
property |
core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php |
The theme to install as the default for testing. |
DateRangeFieldTest::$modules |
property |
core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php |
Modules to enable. |
DateRangeFieldTest::datelistDataProvider |
function |
core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php |
The data provider for testing the validation of the datelist widget. |
DateRangeFieldTest::getTestFieldType |
function |
core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php |
Returns the type of field to be tested. |
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::testInvalidField |
function |
core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php |
Tests that invalid values are caught and marked as invalid. |
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 enable. |