Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
DateHelper::years function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an array of years in a specified range.
DateHelperTest class core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php Tests Drupal\Core\Datetime\DateHelper.
DateHelperTest.php file core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateHelperTest::$languageManager property core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php The language manager.
DateHelperTest::providerTestWeekDaysOrdered function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateHelperTest::setUp function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateHelperTest::testDayOfWeek function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php Tests day of week.
DateHelperTest::testDayOfWeekName function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php Tests day of week name.
DateHelperTest::testDaysInMonth function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php Tests days in month.
DateHelperTest::testDaysInYear function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php Tests days in year.
DateHelperTest::testWeekDaysOrdered function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php Tests week days ordered.
Datelist class core/lib/Drupal/Core/Datetime/Element/Datelist.php Provides a datelist element.
Datelist.php file core/lib/Drupal/Core/Datetime/Element/Datelist.php
Datelist::checkEmptyInputs function core/lib/Drupal/Core/Datetime/Element/Datelist.php Checks the input array for empty values.
Datelist::getInfo function core/lib/Drupal/Core/Datetime/Element/Datelist.php Returns the element properties for this element.
Datelist::incrementRound function core/lib/Drupal/Core/Datetime/Element/Datelist.php Rounds minutes and seconds to nearest requested value.
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::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::testTimezoneHandling function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests proper timezone handling of the Datelist element.
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.
DatePreprocess class core/lib/Drupal/Core/Datetime/DatePreprocess.php Preprocess for common/core theme templates.
DatePreprocess.php file core/lib/Drupal/Core/Datetime/DatePreprocess.php
DatePreprocess::preprocessDatetimeForm function core/lib/Drupal/Core/Datetime/DatePreprocess.php Prepares variables for datetime form element templates.
DatePreprocess::preprocessDatetimeWrapper function core/lib/Drupal/Core/Datetime/DatePreprocess.php Prepares variables for datetime form wrapper templates.
DatePreprocess::preprocessTime function core/lib/Drupal/Core/Datetime/DatePreprocess.php Prepares variables for time templates.
DatePreprocess::__construct function core/lib/Drupal/Core/Datetime/DatePreprocess.php
DateRangeCustomFormatter class core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Plugin implementation of the 'Custom' formatter for 'daterange' fields.
DateRangeCustomFormatter.php file core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php
DateRangeCustomFormatter::defaultSettings function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Defines the default settings for this plugin.
DateRangeCustomFormatter::settingsForm function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Returns a form to configure settings for the formatter.
DateRangeCustomFormatter::settingsSummary function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Returns a short summary for the current formatter settings.
DateRangeCustomFormatter::viewElements function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Builds a renderable array for a field value.
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.

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