Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
DateTest::testFormatInterval function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatInterval method.
DateTest::testFormatIntervalZeroSecond function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatInterval method for 0 second.
DateTest::testFormattedDateDiff function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests FormattedDateDiff.
DateTest::testFormatTimeDiffSince function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatTimeDiffSince method.
DateTest::testFormatTimeDiffUntil function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatTimeDiffUntil method.
DateTest::testFormatWithEmptyStringAsDateFormatType function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests that the formatter does not call \Drupal\Core\Language\LanguageManagerInterface::getConfigOverrideLanguage.
DateTest::testGetSampleDateFormats function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the getSampleDateFormats method.
DateTest::testRfc2822DateFormat function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests that an RFC2822 formatted date always returns an English string.
DateTestBase class core/modules/datetime/tests/src/Functional/DateTestBase.php Provides a base class for testing Datetime field functionality.
DateTestBase.php file core/modules/datetime/tests/src/Functional/DateTestBase.php
DateTestBase::$dateFormatter property core/modules/datetime/tests/src/Functional/DateTestBase.php The date formatter service.
DateTestBase::$displayOptions property core/modules/datetime/tests/src/Functional/DateTestBase.php An array of display options.
DateTestBase::$field property core/modules/datetime/tests/src/Functional/DateTestBase.php The field used in this test class.
DateTestBase::$fieldStorage property core/modules/datetime/tests/src/Functional/DateTestBase.php A field storage to use in this test class.
DateTestBase::$modules property core/modules/datetime/tests/src/Functional/DateTestBase.php
DateTestBase::$timezones property core/modules/datetime/tests/src/Functional/DateTestBase.php An array of timezone extremes to test.
DateTestBase::createField function core/modules/datetime/tests/src/Functional/DateTestBase.php Creates a date test field.
DateTestBase::getTestFieldType function core/modules/datetime/tests/src/Functional/DateTestBase.php Returns the type of field to be tested.
DateTestBase::massageTestDate function core/modules/datetime/tests/src/Functional/DateTestBase.php Massages test date values.
DateTestBase::renderTestEntity function core/modules/datetime/tests/src/Functional/DateTestBase.php Renders an entity_test and sets the output in the internal browser.
DateTestBase::setSiteTimezone function core/modules/datetime/tests/src/Functional/DateTestBase.php Sets the site timezone to a given timezone.
DateTestBase::setUp function core/modules/datetime/tests/src/Functional/DateTestBase.php
Datetime class core/lib/Drupal/Core/Datetime/Element/Datetime.php Provides a datetime element.
datetime-form.html.twig file core/themes/default_admin/templates/form/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/themes/admin/templates/form/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/modules/system/templates/datetime-form.html.twig Default theme implementation of a datetime form element.
datetime-form.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/form/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/themes/stable9/templates/form/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/themes/olivero/templates/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/themes/claro/templates/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/themes/starterkit_theme/templates/form/datetime-form.html.twig Theme override of a datetime form element.
datetime-wrapper.html.twig file core/themes/claro/templates/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/themes/starterkit_theme/templates/form/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/themes/stable9/templates/form/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/form/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/themes/olivero/templates/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/themes/admin/templates/form/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/themes/default_admin/templates/form/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/modules/system/templates/datetime-wrapper.html.twig Default theme implementation of a datetime form wrapper.
datetime.info.yml file core/modules/datetime/datetime.info.yml core/modules/datetime/datetime.info.yml
datetime.migrate_drupal.yml file core/modules/datetime/migrations/state/datetime.migrate_drupal.yml core/modules/datetime/migrations/state/datetime.migrate_drupal.yml
datetime.module file core/modules/datetime/datetime.module Holds datetime views field data helper for deprecation.
Datetime.php file core/lib/Drupal/Core/Datetime/Element/Datetime.php
datetime.schema.yml file core/modules/datetime/config/schema/datetime.schema.yml core/modules/datetime/config/schema/datetime.schema.yml
datetime.services.yml file core/modules/datetime/datetime.services.yml core/modules/datetime/datetime.services.yml
datetime.time service core/modules/update/tests/modules/update_test/update_test.services.yml Drupal\update_test\Datetime\TestTime
datetime.time service core/core.services.yml Drupal\Component\Datetime\Time
datetime.views.schema.yml file core/modules/datetime/config/schema/datetime.views.schema.yml core/modules/datetime/config/schema/datetime.views.schema.yml
datetime.views_helper service core/modules/datetime/datetime.services.yml Drupal\datetime\DateTimeViewsHelper
Datetime::getHtml5DateFormat function core/lib/Drupal/Core/Datetime/Element/Datetime.php Retrieves the right format for an HTML5 date element.

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