| DrupalDateTimeTest |
class |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Tests Drupal\Core\Datetime\DrupalDateTime. |
| DrupalDateTimeTest.php |
file |
core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php |
|
| DrupalDateTimeTest.php |
file |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
|
| DrupalDateTimeTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php |
Set up required modules. |
| DrupalDateTimeTest::providerTestDateDiff |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Provides data for date tests. |
| DrupalDateTimeTest::providerTestInvalidDateDiff |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Provides data for date tests. |
| DrupalDateTimeTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php |
|
| DrupalDateTimeTest::testChainable |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Tests that object methods are chainable. |
| DrupalDateTimeTest::testChainableNonCallable |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Tests that chained calls to non-existent functions throw an exception. |
| DrupalDateTimeTest::testChainableNonChainable |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Tests that non-chainable methods work. |
| DrupalDateTimeTest::testDateDiff |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Tests date diffs. |
| DrupalDateTimeTest::testDateTimezone |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php |
Tests that DrupalDateTime can detect the right timezone to use. |
| DrupalDateTimeTest::testDefaultDateTime |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Tests setting the default time for date-only objects. |
| DrupalDateTimeTest::testGetPhpDateTime |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Tests get php date time. |
| DrupalDateTimeTest::testInvalidDateDiff |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Tests date diff exception caused by invalid input. |
| DrupalDateTimeTest::testRfc2822DateFormat |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Tests that an RFC2822 formatted date always returns an English string. |
| DrupalDateTimeTest::testSleep |
function |
core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php |
Test to avoid serialization of formatTranslationCache. |
| DrupalDateTimeTest::testTimezoneFormat |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php |
Tests the ability to override the time zone in the format method. |
| Drupal\Core\Datetime\DatePreprocess |
service |
core/core.services.yml |
Drupal\Core\Datetime\DatePreprocess |
| EntityChangedInterface::getChangedTime |
function |
core/lib/Drupal/Core/Entity/EntityChangedInterface.php |
Gets the timestamp of the last entity change for the current translation. |
| EntityChangedInterface::getChangedTimeAcrossTranslations |
function |
core/lib/Drupal/Core/Entity/EntityChangedInterface.php |
Gets the timestamp of the last entity change across all translations. |
| EntityChangedInterface::setChangedTime |
function |
core/lib/Drupal/Core/Entity/EntityChangedInterface.php |
Sets the timestamp of the last entity change for the current translation. |
| EntityChangedTrait::getChangedTime |
function |
core/lib/Drupal/Core/Entity/EntityChangedTrait.php |
Gets the timestamp of the last entity change for the current translation. |
| EntityChangedTrait::getChangedTimeAcrossTranslations |
function |
core/lib/Drupal/Core/Entity/EntityChangedTrait.php |
Returns the timestamp of the last entity change across all translations. |
| EntityChangedTrait::setChangedTime |
function |
core/lib/Drupal/Core/Entity/EntityChangedTrait.php |
Sets the timestamp of the last entity change for the current translation. |
| EntityModerationForm::$time |
property |
core/modules/content_moderation/src/Form/EntityModerationForm.php |
The time service. |
| EntityResource::$time |
property |
core/modules/jsonapi/src/Controller/EntityResource.php |
The time service. |
| EntityTestDatetimeTest |
class |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
Tests the datetime field constraint with 'datetime' items. |
| EntityTestDatetimeTest.php |
file |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
|
| EntityTestDatetimeTest::$dateString |
property |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
The ISO date string to use throughout the test. |
| EntityTestDatetimeTest::$defaultTheme |
property |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
The theme to install as the default for testing. |
| EntityTestDatetimeTest::$fieldName |
property |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
Datetime test field name. |
| EntityTestDatetimeTest::$modules |
property |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
Modules to install. |
| EntityTestDatetimeTest::assertNormalizationEdgeCases |
function |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
Asserts normalization-specific edge cases. |
| EntityTestDatetimeTest::createEntity |
function |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
Creates the entity to be tested. |
| EntityTestDatetimeTest::getExpectedNormalizedEntity |
function |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
Returns the expected normalization of the entity. |
| EntityTestDatetimeTest::getNormalizedPostEntity |
function |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
Returns the normalized POST entity. |
| EntityTestDatetimeTest::setUp |
function |
core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php |
|
| Environment::setTimeLimit |
function |
core/lib/Drupal/Component/Utility/Environment.php |
Attempts to set the PHP maximum execution time. |
| EventWithPackageListTrait::$runtimePackages |
property |
core/modules/package_manager/src/Event/EventWithPackageListTrait.php |
The runtime packages, in the form 'vendor/name:constraint'. |
| EventWithPackageListTrait::getRuntimePackages |
function |
core/modules/package_manager/src/Event/EventWithPackageListTrait.php |
Gets the runtime (i.e., non-dev) packages. |
| FakeViewModeContext::getRuntimeContexts |
function |
core/modules/layout_builder/tests/modules/layout_builder_field_block_test/src/ContextProvider/FakeViewModeContext.php |
Gets runtime context values for the given context IDs. |
| field--node--field-cooking-time--recipe--full.html.twig |
file |
core/profiles/demo_umami/themes/umami/templates/components/field/field--node--field-cooking-time--recipe--full.html.twig |
Theme override for a field. |
| field--node--field-preparation-time--recipe--full.html.twig |
file |
core/profiles/demo_umami/themes/umami/templates/components/field/field--node--field-preparation-time--recipe--full.html.twig |
Theme override for a field. |
| field.field.entity_test.entity_test.timestamp.yml |
file |
core/modules/field/tests/modules/field_timestamp_test/config/install/field.field.entity_test.entity_test.timestamp.yml |
core/modules/field/tests/modules/field_timestamp_test/config/install/field.field.entity_test.entity_test.timestamp.yml |
| field.field.node.recipe.field_cooking_time.yml |
file |
core/profiles/demo_umami/config/install/field.field.node.recipe.field_cooking_time.yml |
core/profiles/demo_umami/config/install/field.field.node.recipe.field_cooking_time.yml |
| field.field.node.recipe.field_preparation_time.yml |
file |
core/profiles/demo_umami/config/install/field.field.node.recipe.field_preparation_time.yml |
core/profiles/demo_umami/config/install/field.field.node.recipe.field_preparation_time.yml |
| field.storage.entity_test.timestamp.yml |
file |
core/modules/field/tests/modules/field_timestamp_test/config/install/field.storage.entity_test.timestamp.yml |
core/modules/field/tests/modules/field_timestamp_test/config/install/field.storage.entity_test.timestamp.yml |
| field.storage.node.field_cooking_time.yml |
file |
core/profiles/demo_umami/config/install/field.storage.node.field_cooking_time.yml |
core/profiles/demo_umami/config/install/field.storage.node.field_cooking_time.yml |
| field.storage.node.field_preparation_time.yml |
file |
core/profiles/demo_umami/config/install/field.storage.node.field_preparation_time.yml |
core/profiles/demo_umami/config/install/field.storage.node.field_preparation_time.yml |