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 11.x for format
  5. Other projects
Title Object type File name Summary
DateTimeItemInterface::DATETIME_STORAGE_FORMAT constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the format that date and time should be stored in.
DateTimeItemInterface::DATE_STORAGE_FORMAT constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the format that dates should be stored in.
DateTimeNormalizer::$allowedFormats property core/modules/serialization/src/Normalizer/DateTimeNormalizer.php Allowed datetime formats for the denormalizer.
DateTimeNormalizerTest::providerTestDenormalizeUserFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Data provider for testDenormalizeUserFormats.
DateTimeNormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Data provider for testDenormalizeValidFormats.
DateTimeNormalizerTest::testDenormalizeUserFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Tests the denormalize function with a user supplied format.
DateTimeNormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Tests the denormalize function with good data.
DateTimePlainFormatter class core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php Plugin implementation of the 'Plain' formatter for 'datetime' fields.
DateTimePlainFormatter.php file core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php
DateTimePlainFormatter::formatDate function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php
DateTimePlainFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php
DateTimePlus::$inputFormatAdjusted property core/lib/Drupal/Component/Datetime/DateTimePlus.php The prepared format, if provided.
DateTimePlus::$inputFormatRaw property core/lib/Drupal/Component/Datetime/DateTimePlus.php The value of the format passed to the constructor.
DateTimePlus::createFromFormat function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a date object from an input format.
DateTimePlus::FORMAT constant core/lib/Drupal/Component/Datetime/DateTimePlus.php
DateTimePlus::format function core/lib/Drupal/Component/Datetime/DateTimePlus.php Formats the date for display.
DateTimePlus::prepareFormat function core/lib/Drupal/Component/Datetime/DateTimePlus.php Prepares the input format value.
DateTimePlusTest::providerTestDateFormat function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testDateFormats.
DateTimePlusTest::testDateFormat function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests creating dates from format strings.
DateTimePlusTest::testValidateFormat function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests the $settings['validate_format'] parameter in ::createFromFormat().
DateTimeTest::testDateFormatConfiguration function core/modules/system/tests/src/Functional/System/DateTimeTest.php Tests date format configuration.
DateTimeTimeAgoFormatter class core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php Plugin implementation of the 'Time ago' formatter for 'datetime' fields.
DateTimeTimeAgoFormatter.php file core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php
DateTimeTimeAgoFormatter::formatDate function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php Formats a date/time as a time interval.
DateTimeTimeAgoFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php
DateTimeTimeAgoFormatterTest class core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php Tests the functionality of DateTimeTimeAgoFormatter field formatter.
DateTimeTimeAgoFormatterTest.php file core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php
DateTimeTimeAgoFormatterTest::$defaultTheme property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php
DateTimeTimeAgoFormatterTest::$displayOptions property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php An array of field formatter display options.
DateTimeTimeAgoFormatterTest::$field property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php The field used in this test class.
DateTimeTimeAgoFormatterTest::$fieldStorage property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php A field storage to use in this test class.
DateTimeTimeAgoFormatterTest::$modules property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php
DateTimeTimeAgoFormatterTest::setUp function core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php
DateTimeTimeAgoFormatterTest::testSettings function core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php Tests the formatter settings.
DayDate::$argFormat property core/modules/datetime/src/Plugin/views/argument/DayDate.php
DayDate::$argFormat property core/modules/views/src/Plugin/views/argument/DayDate.php
DayDate::$format property core/modules/views/src/Plugin/views/argument/DayDate.php
DbLogController::$dateFormatter property core/modules/dblog/src/Controller/DbLogController.php The date formatter service.
DbLogController::formatMessage function core/modules/dblog/src/Controller/DbLogController.php Formats a database log message.
DecimalFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/DecimalFormatter.php Plugin implementation of the 'number_decimal' formatter.
DecimalFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/DecimalFormatter.php
DecimalFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/DecimalFormatter.php Defines the default settings for this plugin.
DecimalFormatter::numberFormat function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/DecimalFormatter.php Formats a number.
DecimalFormatter::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/DecimalFormatter.php Returns a form to configure settings for the formatter.
DefaultExceptionHtmlSubscriber::getHandledFormats function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Specifies the request formats this subscriber will respond to.
DefaultExceptionSubscriber::$serializerFormats property core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php The available serialization formats.
DefaultExceptionSubscriber::getHandledFormats function core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php
DefaultExceptionSubscriber::getHandledFormats function core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php
DefaultFileFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/DefaultFileFormatter.php Formatter for a text field on a file entity that links the field to the file.
DefaultFileFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/DefaultFileFormatter.php

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