Search for format
- Search 7.x for format
- Search 9.5.x for format
- Search 8.9.x for format
- Search 11.x for format
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| DateFormatter::$units | property | core/ |
Contains the different date interval units. |
| DateFormatter::country | function | core/ |
Returns the default country from config. |
| DateFormatter::dateFormat | function | core/ |
Loads the given format pattern for the given langcode. |
| DateFormatter::format | function | core/ |
Formats a date, using a date type or a custom date format string. |
| DateFormatter::formatDiff | function | core/ |
Formats a time interval between two timestamps. |
| DateFormatter::formatInterval | function | core/ |
Formats a time interval with the requested granularity. |
| DateFormatter::formatTimeDiffSince | function | core/ |
Formats the time difference from a timestamp to the current request time. |
| DateFormatter::formatTimeDiffUntil | function | core/ |
Formats the time difference from the current request time to a timestamp. |
| DateFormatter::getSampleDateFormats | function | core/ |
Provides values for all date formatting characters for a given timestamp. |
| DateFormatter::__construct | function | core/ |
Constructs a Date object. |
| DateFormatterInterface | interface | core/ |
Provides an interface defining a date formatter. |
| DateFormatterInterface.php | file | core/ |
|
| DateFormatterInterface::format | function | core/ |
Formats a date, using a date type or a custom date format string. |
| DateFormatterInterface::formatDiff | function | core/ |
Formats a time interval between two timestamps. |
| DateFormatterInterface::formatInterval | function | core/ |
Formats a time interval with the requested granularity. |
| DateFormatterInterface::formatTimeDiffSince | function | core/ |
Formats the time difference from a timestamp to the current request time. |
| DateFormatterInterface::formatTimeDiffUntil | function | core/ |
Formats the time difference from the current request time to a timestamp. |
| DateFormatterInterface::getSampleDateFormats | function | core/ |
Provides values for all date formatting characters for a given timestamp. |
| DateFormatterTest | class | core/ |
Tests date formatting. |
| DateFormatterTest.php | file | core/ |
|
| DateFormatterTest::$modules | property | core/ |
Modules to install. |
| DateFormatterTest::LANGCODE | constant | core/ |
Arbitrary langcode for a custom language. |
| DateFormatterTest::setUp | function | core/ |
|
| DateFormatterTest::testFormat | function | core/ |
Tests DateFormatter::format(). |
| DateFormatterTest::testRfc2822DateFormat | function | core/ |
Tests that an RFC2822 formatted date always returns an English string. |
| DateFormatTest | class | core/ |
Tests that date formats UI with JavaScript enabled. |
| DateFormatTest | class | core/ |
JSON:API integration test for the "DateFormat" config entity type. |
| DateFormatTest.php | file | core/ |
|
| DateFormatTest.php | file | core/ |
|
| DateFormatTest::$anonymousUsersCanViewLabels | property | core/ |
Whether anonymous users can view labels of this resource type. |
| DateFormatTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| DateFormatTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| DateFormatTest::$entity | property | core/ |
|
| DateFormatTest::$entityTypeId | property | core/ |
The tested entity type. |
| DateFormatTest::$modules | property | core/ |
Modules to install. |
| DateFormatTest::$modules | property | core/ |
Modules to install. |
| DateFormatTest::$resourceTypeName | property | core/ |
The name of the tested JSON:API resource type. |
| DateFormatTest::createEntity | function | core/ |
Creates the entity to be tested. |
| DateFormatTest::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the entity. |
| DateFormatTest::getPostDocument | function | core/ |
Returns the JSON:API POST document. |
| DateFormatTest::setUp | function | core/ |
|
| DateFormatTest::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| DateFormatTest::testDateFormatXss | function | core/ |
Tests XSS via date format configuration. |
| DateFormatValidationTest | class | core/ |
Tests validation of date_format entities. |
| DateFormatValidationTest.php | file | core/ |
|
| DateFormatValidationTest::setUp | function | core/ |
|
| DateFormatValidationTest::testPatternIsValidated | function | core/ |
Tests that the pattern of a date format is validated. |
| DateFormatXmlAnonTest | class | core/ |
@group rest |
| DateFormatXmlAnonTest.php | file | core/ |
|
| DateFormatXmlAnonTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.