Search for list

  1. Search 7.x for list
  2. Search 9.5.x for list
  3. Search 8.9.x for list
  4. Search 11.x for list
  5. Other projects
Title Object type File name Summary
Datelist::processDatelist function core/lib/Drupal/Core/Datetime/Element/Datelist.php Expands a date element into an array of individual elements.
Datelist::validateDatelist function core/lib/Drupal/Core/Datetime/Element/Datelist.php Validation callback for a datelist element.
Datelist::valueCallback function core/lib/Drupal/Core/Datetime/Element/Datelist.php Validates the date type to adjust 12 hour time and prevent invalid dates.
If the date is valid, the date is set in the form.
DatelistElementFormTest class core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests Datelist functionality.
DatelistElementFormTest.php file core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
DatelistElementFormTest::$modules property core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Modules to install.
DatelistElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Form constructor.
DatelistElementFormTest::datelistDateCallback function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
DatelistElementFormTest::datelistDateCallbackTrusted function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
DatelistElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Returns a unique string identifying the form.
DatelistElementFormTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Sets up the test.
DatelistElementFormTest::submitForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Form submission handler.
DatelistElementFormTest::testDatelistElement function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests that trusted callbacks are executed.
DatelistElementFormTest::testDatelistElementUntrustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests that exceptions are raised if untrusted callbacks are used.
DatelistElementFormTest::trustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Lists the trusted callbacks provided by the implementing class.
DatelistElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Form validation handler.
DateRangeDatelistWidget class core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php Plugin implementation of the 'daterange_datelist' widget.
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.
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::datelistDataProvider function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php The data provider for testing the validation of the datelist widget.
DateRangeFieldTest::testDatelistWidget function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests Date Range List Widget functionality.
DateTimeDatelistWidget class core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Plugin implementation of the 'datetime_datelist' widget.
DateTimeDatelistWidget.php file core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php
DateTimeDatelistWidget::defaultSettings function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Defines the default settings for this plugin.
DateTimeDatelistWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Returns the form for a single field widget.
DateTimeDatelistWidget::settingsForm function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Returns a form to configure settings for the widget.
DateTimeDatelistWidget::settingsSummary function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Returns a short summary for the current widget settings.
DateTimeFieldItemList class core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Represents a configurable entity datetime field.
DateTimeFieldItemList.php file core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php
DateTimeFieldItemList::defaultValuesForm function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Returns a form for the default value input.
DateTimeFieldItemList::defaultValuesFormSubmit function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Processes the submitted default value.
DateTimeFieldItemList::defaultValuesFormValidate function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Validates the submitted default value.
DateTimeFieldItemList::DEFAULT_VALUE_CUSTOM constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Defines the default value as relative.
DateTimeFieldItemList::DEFAULT_VALUE_NOW constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Defines the default value as now.
DateTimeFieldItemList::processDefaultValue function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Processes the default value before being applied.
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.
DbUpdateController::updateTasksList function core/modules/system/src/Controller/DbUpdateController.php Provides the update task list render array.
DefaultConfigTest::moduleListDataProvider function core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php A data provider that lists every module in core.
DefaultConfigTest::themeListDataProvider function core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php A data provider that lists every theme in core.
DefaultPluginManager::$moduleExtensionList property core/lib/Drupal/Core/Plugin/DefaultPluginManager.php The module extension list.

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