| DatetimeElementFormTest |
class |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Tests DatetimeElement functionality. |
| DatetimeElementFormTest.php |
file |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
|
| DatetimeElementFormTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Modules to install. |
| DatetimeElementFormTest::buildForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Form constructor. |
| DatetimeElementFormTest::datetimeDateCallback |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
|
| DatetimeElementFormTest::datetimeDateCallbackTrusted |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
|
| DatetimeElementFormTest::datetimeTimeCallback |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
|
| DatetimeElementFormTest::datetimeTimeCallbackTrusted |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
|
| DatetimeElementFormTest::getFormId |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Returns a unique string identifying the form. |
| DatetimeElementFormTest::providerUntrusted |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Data provider for ::testDatetimeElementUntrustedCallbacks(). |
| DatetimeElementFormTest::submitForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Form submission handler. |
| DatetimeElementFormTest::testDatetimeElement |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Tests that default handlers are added even if custom are specified. |
| DatetimeElementFormTest::testDatetimeElementRequiredError |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Tests the custom required error message for datetime elements. |
| DatetimeElementFormTest::testDatetimeElementUntrustedCallbacks |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Tests that deprecations are raised if untrusted callbacks are used. |
| DatetimeElementFormTest::testRangeValidate |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Tests that year range is validated. |
| DatetimeElementFormTest::testTimezoneHandling |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Tests proper timezone handling of the Datetime element. |
| DatetimeElementFormTest::trustedCallbacks |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Lists the trusted callbacks provided by the implementing class. |
| DatetimeElementFormTest::validateForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Form validation handler. |
| DateTimeFieldTest |
class |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
Tests Datetime field functionality. |
| DateTimeFieldTest.php |
file |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
|
| DateTimeFieldTest::$defaultSettings |
property |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
The default display settings to use for the formatters. |
| DateTimeFieldTest::$defaultTheme |
property |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
The theme to install as the default for testing. |
| DateTimeFieldTest::datelistDataProvider |
function |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
The data provider for testing the validation of the datelist widget. |
| DateTimeFieldTest::getTestFieldType |
function |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
Returns the type of field to be tested. |
| DateTimeFieldTest::testDateField |
function |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
Tests date field functionality. |
| DateTimeFieldTest::testDatelistWidget |
function |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
Tests Date List Widget functionality. |
| DateTimeFieldTest::testDateStorageSettings |
function |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
Tests that 'Date' field storage setting form is disabled if field has data. |
| DateTimeFieldTest::testDatetimeField |
function |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
Tests date and time field. |
| DateTimeFieldTest::testDefaultValue |
function |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
Tests default value functionality. |
| DateTimeFieldTest::testInvalidField |
function |
core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php |
Tests that invalid values are caught and marked as invalid. |
| DatetimeFormElementTest |
class |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Tests static callbacks returns and form submission with datetime elements. |
| DatetimeFormElementTest.php |
file |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
|
| DatetimeFormElementTest::$formBuilder |
property |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Form builder service. |
| DatetimeFormElementTest::buildForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Form constructor. |
| DatetimeFormElementTest::getFormId |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Returns a unique string identifying the form. |
| DatetimeFormElementTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
|
| DatetimeFormElementTest::submitForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Form submission handler. |
| DatetimeFormElementTest::testDatetimeLocalProcessDatetime |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Checks expected values are returned by ::processDatetime(). |
| DatetimeFormElementTest::testDatetimeLocalValueCallback |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Checks expected values are returned by ::valueCallback(). |
| DatetimeFormElementTest::testDatetimeTimeOnlyValueCallback |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Checks expected values are returned by ::valueCallback(). |
| DatetimeFormElementTest::testNoErrorMetOnFormSubmit |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Checks we have no errors on form submit. |
| DatetimeFormElementTest::validateForm |
function |
core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php |
Form validation handler. |
| DateTimeFormInjectionTest |
class |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
Tests serializing a form with an injected datetime instance. |
| DateTimeFormInjectionTest.php |
file |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
|
| DateTimeFormInjectionTest::$logger |
property |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
A Dblog logger instance. |
| DateTimeFormInjectionTest::$modules |
property |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
Modules to install. |
| DateTimeFormInjectionTest::buildForm |
function |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
Form constructor. |
| DateTimeFormInjectionTest::getFormId |
function |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
Returns a unique string identifying the form. |
| DateTimeFormInjectionTest::process |
function |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
Process callback. |
| DateTimeFormInjectionTest::submitForm |
function |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
Form submission handler. |