Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
DateRangePlainFormatter::settingsSummary function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Returns a short summary for the current formatter settings.
DateRangePlainFormatter::viewElements function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Builds a renderable array for a field value.
DateRangeWidgetBase class core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Base class for the 'daterange_*' widgets.
DateRangeWidgetBase.php file core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php
DateRangeWidgetBase::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Returns the form for a single field widget.
DateRangeWidgetBase::massageFormValues function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Massages the form values into the format expected for field values.
DateRangeWidgetBase::validateStartEnd function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php #element_validate callback to ensure that the start date <= the end date.
DateSqlInterface interface core/modules/views/src/Plugin/views/query/DateSqlInterface.php Defines an interface for handling date queries with SQL.
DateSqlInterface.php file core/modules/views/src/Plugin/views/query/DateSqlInterface.php
DateSqlInterface::getDateField function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Returns a native database expression for a given field.
DateSqlInterface::getDateFormat function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Creates a native database date formatting.
DateSqlInterface::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Applies the given offset to the given field.
DateSqlInterface::setTimezoneOffset function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Set the database to the given timezone.
DateTest class core/tests/Drupal/Tests/Core/Datetime/DateTest.php @coversDefaultClass \Drupal\Core\Datetime\DateFormatter[[api-linebreak]]
@group Datetime
DateTest.php file core/tests/Drupal/Tests/Core/Datetime/DateTest.php
DateTest::$dateFormatter property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked date formatter class.
DateTest::$dateFormatterStub property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The date formatter class where methods can be stubbed.
DateTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked entity manager.
DateTest::$languageManager property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked language manager.
DateTest::$requestStack property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked string translation.
DateTest::$stringTranslation property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked string translation.
DateTest::createTimestamp function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Creates a UNIX timestamp given a date and time string in the format
year-month-day hour:minute:seconds (e.g. 2013-12-11 10:09:08).
DateTest::providerTestFormatDiff function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Data provider for testformatDiff().
DateTest::providerTestFormatInterval function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Provides some test data for the format interval test.
DateTest::setUp function core/tests/Drupal/Tests/Core/Datetime/DateTest.php
DateTest::testformatDiff function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatDiff method.
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::testGetSampleDateFormats function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the getSampleDateFormats method.
DateTest::testLegacyMaxAgeFormattedDateDiff function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests FormattedDateDiff.
DateTestBase class core/modules/datetime/tests/src/Functional/DateTestBase.php Provides a base class for testing Datetime field functionality.
DateTestBase class core/modules/datetime/src/Tests/DateTestBase.php Provides a base class for testing Datetime field functionality.
DateTestBase.php file core/modules/datetime/src/Tests/DateTestBase.php
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::$dateFormatter property core/modules/datetime/src/Tests/DateTestBase.php The date formatter service.
DateTestBase::$displayOptions property core/modules/datetime/src/Tests/DateTestBase.php An array of display options.
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::$field property core/modules/datetime/src/Tests/DateTestBase.php The field used in this test class.
DateTestBase::$fieldStorage property core/modules/datetime/src/Tests/DateTestBase.php A field storage to use 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 Modules to enable.
DateTestBase::$modules property core/modules/datetime/src/Tests/DateTestBase.php Modules to enable.
DateTestBase::$timezones property core/modules/datetime/src/Tests/DateTestBase.php An array of timezone extremes to test.
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.

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