Search for format

  1. Search 7.x for format
  2. Search 9.5.x for format
  3. Search 10.3.x for format
  4. Search 11.x for format
  5. Other projects
Title Object type File name Summary
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 Builds a renderable array for a field value.
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 The theme to install as the default for testing.
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 Modules to enable.
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.
DATETIME_DATETIME_STORAGE_FORMAT constant core/modules/datetime/datetime.module Defines the format that date and time should be stored in.
DATETIME_DATE_STORAGE_FORMAT constant core/modules/datetime/datetime.module Defines the format that dates should be stored in.
DayDate::$argFormat property core/modules/datetime/src/Plugin/views/argument/DayDate.php The date format used in the query.
DayDate::$argFormat property core/modules/views/src/Plugin/views/argument/DayDate.php The date format used in the query.
DayDate::$format property core/modules/views/src/Plugin/views/argument/DayDate.php The date format used in the title.
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.
DbLogResourceTest::$format property core/modules/dblog/tests/src/Functional/DbLogResourceTest.php The format to use in this test.
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 Specifies the request formats this subscriber will respond to.
DefaultExceptionSubscriber::getHandledFormats function core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php Specifies the request formats this subscriber will respond to.
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
DefaultFileFormatter::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/DefaultFileFormatter.php Defines the default settings for this plugin.
DefaultFileFormatter::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/DefaultFileFormatter.php Returns a form to configure settings for the formatter.
DefaultFileFormatter::viewValue function core/modules/file/src/Plugin/Field/FieldFormatter/DefaultFileFormatter.php Generate the output appropriate for one field item.
DefaultFormatTest class core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php @group routing
DefaultFormatTest.php file core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php
DefaultFormatTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php The theme to install as the default for testing.
DefaultFormatTest::$modules property core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php Modules to enable.
DefaultFormatTest::testFoo function core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php
DefaultFormatTest::testMultipleRoutesWithSameSingleFormat function core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php
DefaultFormatTestController class core/modules/system/tests/modules/default_format_test/src/DefaultFormatTestController.php
DefaultFormatTestController.php file core/modules/system/tests/modules/default_format_test/src/DefaultFormatTestController.php
DefaultFormatTestController::content function core/modules/system/tests/modules/default_format_test/src/DefaultFormatTestController.php
DefaultProcessor::$dateFormatter property core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php The date formatter service.
default_format_test.info.yml file core/modules/system/tests/modules/default_format_test/default_format_test.info.yml core/modules/system/tests/modules/default_format_test/default_format_test.info.yml
default_format_test.routing.yml file core/modules/system/tests/modules/default_format_test/default_format_test.routing.yml core/modules/system/tests/modules/default_format_test/default_format_test.routing.yml
DeprecatedClassesTest::testDeprecatedSystemInformationFormConstructorParameters function core/modules/path_alias/tests/src/Unit/DeprecatedClassesTest.php @covers \Drupal\system\Form\SiteInformationForm::__construct
DescriptionAwareFileFormatterBase class core/modules/file/src/Plugin/Field/FieldFormatter/DescriptionAwareFileFormatterBase.php Base class for file formatters that have to deal with file descriptions.
DescriptionAwareFileFormatterBase.php file core/modules/file/src/Plugin/Field/FieldFormatter/DescriptionAwareFileFormatterBase.php

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