DateTimeDefaultFormatter::settingsSummary |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php |
Returns a short summary for the current formatter settings. |
DateTimeDefaultWidget::formElement |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php |
Returns the form for a single field widget. |
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::setUp |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Sets up the test. |
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::testDatetimeElementUntrustedCallbacks |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Tests that deprecations are raised if untrusted callbacks are used. |
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. |
DateTimeFieldItemList::defaultValuesForm |
function |
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php |
Returns a form for the default value input. |
DateTimeFieldItemList::defaultValuesFormSubmit |
function |
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php |
Processes the submitted default value. |
DateTimeFieldItemList::defaultValuesFormValidate |
function |
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php |
Validates the submitted default value. |
DateTimeFormatConstraint |
class |
core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php |
Validation constraint for DateTime items to ensure the format is correct. |
DateTimeFormatConstraint.php |
file |
core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php |
|
DateTimeFormatConstraint::$badFormat |
property |
core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php |
Message for when the value isn't in the proper format. |
DateTimeFormatConstraint::$badType |
property |
core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php |
Message for when the value isn't a string. |
DateTimeFormatConstraint::$badValue |
property |
core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php |
Message for when the value did not parse properly. |
DateTimeFormatConstraintValidator |
class |
core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php |
Constraint validator for DateTime items to ensure the format is correct. |
DateTimeFormatConstraintValidator.php |
file |
core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php |
|
DateTimeFormatConstraintValidator::validate |
function |
core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php |
|
DateTimeFormatterBase |
class |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Base class for 'DateTime Field formatter' plugin implementations. |
DateTimeFormatterBase.php |
file |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
|
DateTimeFormatterBase::$dateFormatStorage |
property |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
The date format entity storage. |
DateTimeFormatterBase::$dateFormatter |
property |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
The date formatter service. |
DateTimeFormatterBase::buildDate |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Creates a render array from a date object. |
DateTimeFormatterBase::buildDateWithIsoAttribute |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Creates a render array from a date object with ISO date attribute. |
DateTimeFormatterBase::create |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Creates an instance of the plugin. |
DateTimeFormatterBase::defaultSettings |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Defines the default settings for this plugin. |
DateTimeFormatterBase::formatDate |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Creates a formatted date value as a string. |
DateTimeFormatterBase::getFormatSettings |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Gets a settings array suitable for DrupalDateTime::format(). |
DateTimeFormatterBase::setTimeZone |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Sets the proper time zone on a DrupalDateTime object for the current user. |
DateTimeFormatterBase::settingsForm |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Returns a form to configure settings for the formatter. |
DateTimeFormatterBase::settingsSummary |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Returns a short summary for the current formatter settings. |
DateTimeFormatterBase::viewElements |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Builds a renderable array for a field value. |
DateTimeFormatterBase::__construct |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Constructs a new DateTimeDefaultFormatter. |
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. |