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 11.x for %s
  6. Other projects
Title Object type File name Summary
DateHelper::monthNamesAbbr function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs a translated array of month name abbreviations.
DateHelper::monthNamesAbbrUntranslated function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an untranslated array of abbreviated month names.
DateHelper::monthNamesUntranslated function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an untranslated array of month names.
DateHelper::seconds function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an array of seconds.
DateHelper::weekDays function core/lib/Drupal/Core/Datetime/DateHelper.php Returns a translated array of week names.
DateHelper::weekDaysAbbr function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs a translated array of week day abbreviations.
DateHelper::weekDaysAbbr1 function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs a translated array of 1-letter week day abbreviations.
DateHelper::weekDaysAbbr2 function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs a translated array of 2-letter week day abbreviations.
DateHelper::weekDaysOrdered function core/lib/Drupal/Core/Datetime/DateHelper.php Reorders weekdays to match the first day of the week.
DateHelper::weekDaysUntranslated function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an untranslated array of week days.
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
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
DatelistElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
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
DatelistElementFormTest::submitForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
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
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

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