Search for format
- Search 7.x for format
- Search 9.5.x for format
- Search 8.9.x for format
- Search 10.3.x for format
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
DateTimeFormatConstraintValidator | class | core/ |
Constraint validator for DateTime items to ensure the format is correct. |
DateTimeFormatConstraintValidator.php | file | core/ |
|
DateTimeFormatConstraintValidator::validate | function | core/ |
|
DateTimeFormatterBase | class | core/ |
Base class for 'DateTime Field formatter' plugin implementations. |
DateTimeFormatterBase.php | file | core/ |
|
DateTimeFormatterBase::$dateFormatStorage | property | core/ |
The date format entity storage. |
DateTimeFormatterBase::$dateFormatter | property | core/ |
The date formatter service. |
DateTimeFormatterBase::buildDate | function | core/ |
Creates a render array from a date object. |
DateTimeFormatterBase::buildDateWithIsoAttribute | function | core/ |
Creates a render array from a date object with ISO date attribute. |
DateTimeFormatterBase::create | function | core/ |
Creates an instance of the plugin. |
DateTimeFormatterBase::defaultSettings | function | core/ |
Defines the default settings for this plugin. |
DateTimeFormatterBase::formatDate | function | core/ |
Creates a formatted date value as a string. |
DateTimeFormatterBase::getFormatSettings | function | core/ |
Gets a settings array suitable for DrupalDateTime::format(). |
DateTimeFormatterBase::setTimeZone | function | core/ |
Sets the proper time zone on a DrupalDateTime object for the current user. |
DateTimeFormatterBase::settingsForm | function | core/ |
Returns a form to configure settings for the formatter. |
DateTimeFormatterBase::settingsSummary | function | core/ |
Returns a short summary for the current formatter settings. |
DateTimeFormatterBase::viewElements | function | core/ |
Builds a renderable array for a field value. |
DateTimeFormatterBase::__construct | function | core/ |
Constructs a new DateTimeDefaultFormatter. |
DateTimeIso8601Normalizer::$allowedFormats | property | core/ |
Allowed datetime formats for the denormalizer. |
DateTimeIso8601NormalizerTest::providerTestDenormalizeValidFormats | function | core/ |
Data provider for testDenormalizeValidFormats. |
DateTimeIso8601NormalizerTest::testDenormalizeValidFormats | function | core/ |
Tests the denormalize function with good data. |
DateTimeItemInterface::DATETIME_STORAGE_FORMAT | constant | core/ |
Defines the format that date and time should be stored in. |
DateTimeItemInterface::DATE_STORAGE_FORMAT | constant | core/ |
Defines the format that dates should be stored in. |
DateTimeNormalizer::$allowedFormats | property | core/ |
Allowed datetime formats for the denormalizer. |
DateTimeNormalizerTest::providerTestDenormalizeUserFormats | function | core/ |
Data provider for testDenormalizeUserFormats. |
DateTimeNormalizerTest::providerTestDenormalizeValidFormats | function | core/ |
Data provider for testDenormalizeValidFormats. |
DateTimeNormalizerTest::testDenormalizeUserFormats | function | core/ |
Tests the denormalize function with a user supplied format. |
DateTimeNormalizerTest::testDenormalizeValidFormats | function | core/ |
Tests the denormalize function with good data. |
DateTimePlainFormatter | class | core/ |
Plugin implementation of the 'Plain' formatter for 'datetime' fields. |
DateTimePlainFormatter.php | file | core/ |
|
DateTimePlainFormatter::formatDate | function | core/ |
Creates a formatted date value as a string. |
DateTimePlainFormatter::viewElements | function | core/ |
Builds a renderable array for a field value. |
DateTimePlus::$inputFormatAdjusted | property | core/ |
The prepared format, if provided. |
DateTimePlus::$inputFormatRaw | property | core/ |
The value of the format passed to the constructor. |
DateTimePlus::createFromFormat | function | core/ |
Creates a date object from an input format. |
DateTimePlus::FORMAT | constant | core/ |
|
DateTimePlus::format | function | core/ |
Formats the date for display. |
DateTimePlus::prepareFormat | function | core/ |
Prepares the input format value. |
DateTimePlusTest::providerTestDateFormat | function | core/ |
Provides data for testDateFormats. |
DateTimePlusTest::testDateFormat | function | core/ |
Tests creating dates from format strings. |
DateTimePlusTest::testValidateFormat | function | core/ |
Tests the $settings['validate_format'] parameter in ::createFromFormat(). |
DateTimeTest::testDateFormatConfiguration | function | core/ |
Tests date format configuration. |
DateTimeTimeAgoFormatter | class | core/ |
Plugin implementation of the 'Time ago' formatter for 'datetime' fields. |
DateTimeTimeAgoFormatter.php | file | core/ |
|
DateTimeTimeAgoFormatter::formatDate | function | core/ |
Formats a date/time as a time interval. |
DateTimeTimeAgoFormatter::viewElements | function | core/ |
Builds a renderable array for a field value. |
DateTimeTimeAgoFormatterTest | class | core/ |
Tests the functionality of DateTimeTimeAgoFormatter field formatter. |
DateTimeTimeAgoFormatterTest.php | file | core/ |
|
DateTimeTimeAgoFormatterTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
DateTimeTimeAgoFormatterTest::$displayOptions | property | core/ |
An array of field formatter display options. |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.