Search for format

  1. Search 7.x for format
  2. Search 9.5.x for format
  3. Search 8.9.x for format
  4. Search 10.3.x for format
  5. Other projects
Title Object type File name Summary
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.
DateRangeDefaultFormatter class core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php Plugin implementation of the 'Default' formatter for 'daterange' fields.
DateRangeDefaultFormatter.php file core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php
DateRangeDefaultFormatter::defaultSettings function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php Defines the default settings for this plugin.
DateRangeDefaultFormatter::settingsForm function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php Returns a form to configure settings for the formatter.
DateRangeDefaultFormatter::settingsSummary function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeDefaultFormatter.php Returns a short summary for the current formatter settings.
DateRangePlainFormatter class core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Plugin implementation of the 'Plain' formatter for 'daterange' fields.
DateRangePlainFormatter.php file core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php
DateRangePlainFormatter::defaultSettings function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Defines the default settings for this plugin.
DateRangePlainFormatter::settingsForm function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Returns a form to configure settings for the formatter.
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.
DateSqlInterface::getDateFormat function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Creates a native database date formatting.
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::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::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::testRfc2822DateFormat function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests that an RFC2822 formatted date always returns an English string.
DateTestBase::$dateFormatter property core/modules/datetime/tests/src/Functional/DateTestBase.php The date formatter service.
Datetime::getHtml5DateFormat function core/lib/Drupal/Core/Datetime/Element/Datetime.php Retrieves the right format for an HTML5 date element.
Datetime::getHtml5TimeFormat function core/lib/Drupal/Core/Datetime/Element/Datetime.php Retrieves the right format for an HTML5 time element.
DateTimeCustomFormatter class core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php Plugin implementation of the 'Custom' formatter for 'datetime' fields.
DateTimeCustomFormatter.php file core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php
DateTimeCustomFormatter::defaultSettings function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php Defines the default settings for this plugin.
DateTimeCustomFormatter::formatDate function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php Creates a formatted date value as a string.
DateTimeCustomFormatter::settingsForm function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php Returns a form to configure settings for the formatter.
DateTimeCustomFormatter::settingsSummary function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php Returns a short summary for the current formatter settings.
DateTimeCustomFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php Builds a renderable array for a field value.
DateTimeDefaultFormatter class core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php Plugin implementation of the 'Default' formatter for 'datetime' fields.
DateTimeDefaultFormatter.php file core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php
DateTimeDefaultFormatter::defaultSettings function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php Defines the default settings for this plugin.
DateTimeDefaultFormatter::formatDate function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php Creates a formatted date value as a string.
DateTimeDefaultFormatter::settingsForm function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php Returns a form to configure settings for the formatter.
DateTimeDefaultFormatter::settingsSummary function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php Returns a short summary for the current formatter settings.
DateTimeFormatConstraint class core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php Validation constraint for DateTime items to ensure the format is correct.
DateTimeFormatConstraint.php file core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php
DateTimeFormatConstraint::$badFormat property core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php Message for when the value isn't in the proper format.
DateTimeFormatConstraint::$badType property core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php Message for when the value isn't a string.

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