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
DateFormatterInterface::formatTimeDiffSince function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Formats the time difference from a timestamp to the current request time.
DateFormatterInterface::formatTimeDiffUntil function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Formats the time difference from the current request time to a timestamp.
DateFormatterInterface::getSampleDateFormats function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Provides values for all date formatting characters for a given timestamp.
DateFormatterTest class core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php Tests date formatting.
DateFormatterTest.php file core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php
DateFormatterTest::$modules property core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php Modules to install.
DateFormatterTest::LANGCODE constant core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php Arbitrary langcode for a custom language.
DateFormatterTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php
DateFormatterTest::testFormat function core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php Tests DateFormatter::format().
DateFormatterTest::testRfc2822DateFormat function core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php Tests that an RFC2822 formatted date always returns an English string.
DateFormatTest class core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php Tests that date formats UI with JavaScript enabled.
DateFormatTest class core/modules/jsonapi/tests/src/Functional/DateFormatTest.php JSON:API integration test for the "DateFormat" config entity type.
DateFormatTest.php file core/modules/jsonapi/tests/src/Functional/DateFormatTest.php
DateFormatTest.php file core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php
DateFormatTest::$anonymousUsersCanViewLabels property core/modules/jsonapi/tests/src/Functional/DateFormatTest.php Whether anonymous users can view labels of this resource type.
DateFormatTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/DateFormatTest.php The theme to install as the default for testing.
DateFormatTest::$defaultTheme property core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php The theme to install as the default for testing.
DateFormatTest::$entity property core/modules/jsonapi/tests/src/Functional/DateFormatTest.php
DateFormatTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/DateFormatTest.php The tested entity type.
DateFormatTest::$modules property core/modules/jsonapi/tests/src/Functional/DateFormatTest.php Modules to install.
DateFormatTest::$modules property core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php Modules to install.
DateFormatTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/DateFormatTest.php The name of the tested JSON:API resource type.
DateFormatTest::createEntity function core/modules/jsonapi/tests/src/Functional/DateFormatTest.php Creates the entity to be tested.
DateFormatTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/DateFormatTest.php Returns the expected JSON:API document for the entity.
DateFormatTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/DateFormatTest.php Returns the JSON:API POST document.
DateFormatTest::setUp function core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php
DateFormatTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/DateFormatTest.php Sets up the necessary authorization.
DateFormatTest::testDateFormatXss function core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php Tests XSS via date format configuration.
DateFormatValidationTest class core/tests/Drupal/KernelTests/Core/Entity/DateFormatValidationTest.php Tests validation of date_format entities.
DateFormatValidationTest.php file core/tests/Drupal/KernelTests/Core/Entity/DateFormatValidationTest.php
DateFormatValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/DateFormatValidationTest.php
DateFormatValidationTest::testPatternIsValidated function core/tests/Drupal/KernelTests/Core/Entity/DateFormatValidationTest.php Tests that the pattern of a date format is validated.
DateFormatXmlAnonTest class core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlAnonTest.php @group rest
DateFormatXmlAnonTest.php file core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlAnonTest.php
DateFormatXmlAnonTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlAnonTest.php The theme to install as the default for testing.
DateFormatXmlAnonTest::$format property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlAnonTest.php The format to use in this test.
DateFormatXmlAnonTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlAnonTest.php The MIME type that corresponds to $format.
DateFormatXmlBasicAuthTest class core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php @group rest
DateFormatXmlBasicAuthTest.php file core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php
DateFormatXmlBasicAuthTest::$auth property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php The authentication mechanism to use in this test.
DateFormatXmlBasicAuthTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php The theme to install as the default for testing.
DateFormatXmlBasicAuthTest::$format property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php The format to use in this test.
DateFormatXmlBasicAuthTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php The MIME type that corresponds to $format.
DateFormatXmlBasicAuthTest::$modules property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlBasicAuthTest.php Modules to install.
DateFormatXmlCookieTest class core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php @group rest
DateFormatXmlCookieTest.php file core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php
DateFormatXmlCookieTest::$auth property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php The authentication mechanism to use in this test.
DateFormatXmlCookieTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php The theme to install as the default for testing.
DateFormatXmlCookieTest::$format property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php The format to use in this test.
DateFormatXmlCookieTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php The MIME type that corresponds to $format.

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