DateTimeCustomFormatter::formatDate |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php |
Creates a formatted date value as a string. |
DateTimeCustomFormatter::settingsForm |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php |
Returns a form to configure settings for the formatter. |
DateTimeCustomFormatter::settingsSummary |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php |
Returns a short summary for the current formatter settings. |
DateTimeCustomFormatter::viewElements |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php |
Builds a renderable array for a field value. |
DateTimeDatelistWidget |
class |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php |
Plugin implementation of the 'datetime_datelist' widget. |
DateTimeDatelistWidget.php |
file |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php |
|
DateTimeDatelistWidget::defaultSettings |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php |
Defines the default settings for this plugin. |
DateTimeDatelistWidget::formElement |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php |
Returns the form for a single field widget. |
DateTimeDatelistWidget::settingsForm |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php |
Returns a form to configure settings for the widget. |
DateTimeDatelistWidget::settingsSummary |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php |
Returns a short summary for the current widget settings. |
DateTimeDefaultFormatter |
class |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php |
Plugin implementation of the 'Default' formatter for 'datetime' fields. |
DateTimeDefaultFormatter.php |
file |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php |
|
DateTimeDefaultFormatter::defaultSettings |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php |
Defines the default settings for this plugin. |
DateTimeDefaultFormatter::formatDate |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php |
Creates a formatted date value as a string. |
DateTimeDefaultFormatter::settingsForm |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php |
Returns a form to configure settings for the formatter. |
DateTimeDefaultFormatter::settingsSummary |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php |
Returns a short summary for the current formatter settings. |
DateTimeDefaultWidget |
class |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php |
Plugin implementation of the 'datetime_default' widget. |
DateTimeDefaultWidget.php |
file |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php |
|
DateTimeDefaultWidget::$dateStorage |
property |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php |
The date format storage. |
DateTimeDefaultWidget::create |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php |
Creates an instance of the plugin. |
DateTimeDefaultWidget::formElement |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php |
Returns the form for a single field widget. |
DateTimeDefaultWidget::__construct |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php |
Constructs a WidgetBase object. |
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 enable. |
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 |
class |
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php |
Represents a configurable entity datetime field. |
DateTimeFieldItemList.php |
file |
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php |
|
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. |
DateTimeFieldItemList::DEFAULT_VALUE_CUSTOM |
constant |
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php |
Defines the default value as relative. |
DateTimeFieldItemList::DEFAULT_VALUE_NOW |
constant |
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php |
Defines the default value as now. |
DateTimeFieldItemList::processDefaultValue |
function |
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php |
Processes the default value before being applied. |
DateTimeFieldRdfaTest |
class |
core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php |
Tests RDFa output by datetime field formatters. |
DateTimeFieldRdfaTest.php |
file |
core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php |
|
DateTimeFieldRdfaTest::$fieldType |
property |
core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php |
The machine name of the field type to test. |