Search for id

  1. Search 7.x for id
  2. Search 9.5.x for id
  3. Search 8.9.x for id
  4. Search 11.x for id
  5. Other projects
Title Object type File name Summary
DateTimeDefaultWidget class core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Plugin implementation of the 'datetime_default' widget.
DateTimeDefaultWidget.php file core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php
DateTimeDefaultWidget::$dateStorage property core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php The date format storage.
DateTimeDefaultWidget::create function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Creates an instance of the plugin.
DateTimeDefaultWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Returns the form for a single field widget.
DateTimeDefaultWidget::__construct function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Constructs a WidgetBase object.
DatetimeElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Returns a unique string identifying the form.
DatetimeElementFormTest::providerUntrusted function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Data provider for ::testDatetimeElementUntrustedCallbacks().
DatetimeElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Form validation handler.
DateTimeFieldItemList::defaultValuesFormValidate function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Validates the submitted default value.
DateTimeFieldTest::datelistDataProvider function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php The data provider for testing the validation of the datelist widget.
DateTimeFieldTest::testDatelistWidget function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests Date List Widget functionality.
DateTimeFieldTest::testInvalidField function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests that invalid values are caught and marked as invalid.
DateTimeFormatConstraintValidator class core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php Constraint validator for DateTime items to ensure the format is correct.
DateTimeFormatConstraintValidator.php file core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php
DateTimeFormatConstraintValidator::validate function core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php
DateTimeFormInjectionTest::getFormId function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Returns a unique string identifying the form.
DateTimeFormInjectionTest::validateForm function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Form validation handler.
DateTimeIso8601NormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Data provider for testDenormalizeValidFormats.
DateTimeIso8601NormalizerTest::providerTestNormalize function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Data provider for testNormalize.
DateTimeIso8601NormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with good data.
DateTimeItemTest::dateOnlyValidationProvider function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Provider for testDatetimeValidation().
DateTimeItemTest::datetimeValidationProvider function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Provider for testDatetimeValidation().
DateTimeItemTest::testDateOnlyValidation function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Tests the constraint validations for fields with date only.
DateTimeItemTest::testDatetimeValidation function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Tests the constraint validations for fields with date and time.
DateTimeNormalizerTest::providerTestDenormalizeUserFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Data provider for testDenormalizeUserFormats.
DateTimeNormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Data provider for testDenormalizeValidFormats.
DateTimeNormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Tests the denormalize function with good data.
DateTimePlusTest::providerTestCheckArray function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Data provider for testCheckArray.
DateTimePlusTest::providerTestDateArrays function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for date tests.
DateTimePlusTest::providerTestDateDiff function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for date tests.
DateTimePlusTest::providerTestDateFormat function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testDateFormats.
DateTimePlusTest::providerTestDates function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for date tests.
DateTimePlusTest::providerTestDateTimestamp function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testDateTimestamp.
DateTimePlusTest::providerTestDateTimezone function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testDateTimezone.
DateTimePlusTest::providerTestInvalidConstructor function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provider for testInvalidConstructor().
DateTimePlusTest::providerTestInvalidDateArrays function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Data provider for testInvalidDateArrays.
DateTimePlusTest::providerTestInvalidDateDiff function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for date tests.
DateTimePlusTest::providerTestInvalidDates function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testInvalidDates.
DateTimePlusTest::providerTestTimestamp function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testTimestamp.
DateTimePlusTest::testInvalidConstructor function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests invalid values passed to constructor.
DateTimePlusTest::testInvalidDateArrays function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests creating dates from invalid array input.
DateTimePlusTest::testInvalidDateDiff function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests date diff exception caused by invalid input.
DateTimePlusTest::testInvalidDates function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests invalid date handling.
DateTimePlusTest::testValidateFormat function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests the $settings['validate_format'] parameter in ::createFromFormat().
DateTimeWidgetBase class core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Base class for the 'datetime_*' widgets.
DateTimeWidgetBase.php file core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php
DateTimeWidgetBase::createDefaultValue function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Creates a date object for use as a default value.
DateTimeWidgetBase::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Returns the form for a single field widget.
DateTimeWidgetBase::massageFormValues function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Massages the form values into the format expected for field values.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.