| DateFormatListBuilder::createInstance |
function |
core/modules/system/src/DateFormatListBuilder.php |
Instantiates a new instance of this entity handler. |
| DateFormatListBuilder::__construct |
function |
core/modules/system/src/DateFormatListBuilder.php |
Constructs a new DateFormatListBuilder object. |
| DateFormatResourceTestBase |
class |
core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php |
ResourceTestBase for DateFormat entity. |
| DateFormatResourceTestBase.php |
file |
core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php |
|
| DateFormatResourceTestBase::$entity |
property |
core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php |
The DateFormat entity. |
| DateFormatResourceTestBase::$entityTypeId |
property |
core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php |
The tested entity type. |
| DateFormatResourceTestBase::$modules |
property |
core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php |
Modules to install. |
| DateFormatResourceTestBase::createEntity |
function |
core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php |
Creates the entity to be tested. |
| DateFormatResourceTestBase::getExpectedNormalizedEntity |
function |
core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php |
Returns the expected normalization of the entity. |
| DateFormatResourceTestBase::getNormalizedPostEntity |
function |
core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php |
Returns the normalized POST entity. |
| DateFormatResourceTestBase::setUpAuthorization |
function |
core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php |
Sets up the necessary authorization. |
| DateFormatsLockedTest |
class |
core/modules/system/tests/src/Functional/System/DateFormatsLockedTest.php |
Tests the locked functionality of date formats. |
| DateFormatsLockedTest.php |
file |
core/modules/system/tests/src/Functional/System/DateFormatsLockedTest.php |
|
| DateFormatsLockedTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/System/DateFormatsLockedTest.php |
The theme to install as the default for testing. |
| DateFormatsLockedTest::testDateLocking |
function |
core/modules/system/tests/src/Functional/System/DateFormatsLockedTest.php |
Tests attempts at listing, editing, and deleting locked date formats. |
| DateFormatsMachineNameTest |
class |
core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php |
Tests validity of date format machine names. |
| DateFormatsMachineNameTest.php |
file |
core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php |
|
| DateFormatsMachineNameTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php |
The theme to install as the default for testing. |
| DateFormatsMachineNameTest::setUp |
function |
core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php |
|
| DateFormatsMachineNameTest::testDateFormatsMachineNameAllowedValues |
function |
core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php |
Tests that date formats cannot be created with invalid machine names. |
| DateFormatter |
class |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Provides a service to handle various date related functionality. |
| DateFormatter.php |
file |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
|
| DateFormatter::$configFactory |
property |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
The configuration factory. |
| DateFormatter::$country |
property |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
|
| DateFormatter::$dateFormats |
property |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
|
| DateFormatter::$dateFormatStorage |
property |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
The date format storage. |
| DateFormatter::$languageManager |
property |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Language manager for retrieving the default langcode when none is specified. |
| DateFormatter::$requestStack |
property |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
The request stack. |
| DateFormatter::$timezones |
property |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
The list of loaded timezones. |
| DateFormatter::$units |
property |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Contains the different date interval units. |
| DateFormatter::country |
function |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Returns the default country from config. |
| DateFormatter::dateFormat |
function |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Loads the given format pattern for the given langcode. |
| DateFormatter::format |
function |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Formats a date, using a date type or a custom date format string. |
| DateFormatter::formatDiff |
function |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Formats a time interval between two timestamps. |
| DateFormatter::formatInterval |
function |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Formats a time interval with the requested granularity. |
| DateFormatter::formatTimeDiffSince |
function |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Formats the time difference from a timestamp to the current request time. |
| DateFormatter::formatTimeDiffUntil |
function |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Formats the time difference from the current request time to a timestamp. |
| DateFormatter::getSampleDateFormats |
function |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Provides values for all date formatting characters for a given timestamp. |
| DateFormatter::__construct |
function |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
Constructs a Date object. |
| DateFormatterInterface |
interface |
core/lib/Drupal/Core/Datetime/DateFormatterInterface.php |
Provides an interface defining a date formatter. |
| DateFormatterInterface.php |
file |
core/lib/Drupal/Core/Datetime/DateFormatterInterface.php |
|
| DateFormatterInterface::format |
function |
core/lib/Drupal/Core/Datetime/DateFormatterInterface.php |
Formats a date, using a date type or a custom date format string. |
| DateFormatterInterface::formatDiff |
function |
core/lib/Drupal/Core/Datetime/DateFormatterInterface.php |
Formats a time interval between two timestamps. |
| DateFormatterInterface::formatInterval |
function |
core/lib/Drupal/Core/Datetime/DateFormatterInterface.php |
Formats a time interval with the requested granularity. |
| 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. |