DatetimeRangeTestHooks.php |
file |
core/modules/datetime_range/tests/modules/datetime_range_test/src/Hook/DatetimeRangeTestHooks.php |
|
DatetimeRangeTestHooks::entityTypeAlter |
function |
core/modules/datetime_range/tests/modules/datetime_range_test/src/Hook/DatetimeRangeTestHooks.php |
Implements hook_entity_type_alter(). |
DateTimeRangeTrait |
trait |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Provides friendly methods for datetime range. |
DateTimeRangeTrait.php |
file |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
|
DateTimeRangeTrait::dateTimeRangeDefaultSettings |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Get the default settings for a date and time range display. |
DateTimeRangeTrait::dateTimeRangeSettingsForm |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Configuration form for date time range. |
DateTimeRangeTrait::dateTimeRangeSettingsSummary |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Gets the date time range settings summary. |
DateTimeRangeTrait::endDateIsDisplayed |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Gets whether the end date should be displayed. |
DateTimeRangeTrait::getFromToOptions |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Returns a list of possible values for the 'from_to' setting. |
DateTimeRangeTrait::renderStartEnd |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Creates a render array given start/end dates. |
DateTimeRangeTrait::renderStartEndWithIsoAttribute |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Creates a render array with ISO attributes given start/end dates. |
DateTimeRangeTrait::startDateIsDisplayed |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Gets whether the start date should be displayed. |
DateTimeRangeTrait::viewElements |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
|
DatetimeRangeViewsHooks |
class |
core/modules/datetime_range/src/Hook/DatetimeRangeViewsHooks.php |
Hook implementations for datetime_range. |
DatetimeRangeViewsHooks.php |
file |
core/modules/datetime_range/src/Hook/DatetimeRangeViewsHooks.php |
|
DatetimeRangeViewsHooks::fieldViewsData |
function |
core/modules/datetime_range/src/Hook/DatetimeRangeViewsHooks.php |
Implements hook_field_views_data(). |
DateTimeSchemaTest |
class |
core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php |
Tests the Drupal\datetime\Plugin\views schemas. |
DateTimeSchemaTest.php |
file |
core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php |
|
DateTimeSchemaTest::$testViews |
property |
core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php |
Views to be enabled. |
DateTimeSchemaTest::testDateTimeSchema |
function |
core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php |
Tests argument plugin schema. |
DateTimeTest |
class |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Test date formatting and time zone handling, including daylight saving time. |
DateTimeTest.php |
file |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
|
DateTimeTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
The theme to install as the default for testing. |
DateTimeTest::$modules |
property |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Modules to install. |
DateTimeTest::setUp |
function |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
|
DateTimeTest::testDateFormatConfiguration |
function |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Tests date format configuration. |
DateTimeTest::testEnteringDateTimeViaSelectors |
function |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Tests handling case with invalid data in selectors (like February, 31st). |
DateTimeTest::testTimeZoneHandling |
function |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Tests time zones and DST handling. |
DateTimeTimeAgoFormatter |
class |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php |
Plugin implementation of the 'Time ago' formatter for 'datetime' fields. |
DateTimeTimeAgoFormatter.php |
file |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php |
|
DateTimeTimeAgoFormatter::formatDate |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php |
Formats a date/time as a time interval. |
DateTimeTimeAgoFormatter::viewElements |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php |
Builds a renderable array for a field value. |
DateTimeTimeAgoFormatterTest |
class |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
Tests the functionality of DateTimeTimeAgoFormatter field formatter. |
DateTimeTimeAgoFormatterTest.php |
file |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
|
DateTimeTimeAgoFormatterTest::$defaultTheme |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
The theme to install as the default for testing. |
DateTimeTimeAgoFormatterTest::$displayOptions |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
An array of field formatter display options. |
DateTimeTimeAgoFormatterTest::$field |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
The field used in this test class. |
DateTimeTimeAgoFormatterTest::$fieldStorage |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
A field storage to use in this test class. |
DateTimeTimeAgoFormatterTest::$modules |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
Modules to install. |
DateTimeTimeAgoFormatterTest::setUp |
function |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
|
DateTimeTimeAgoFormatterTest::testSettings |
function |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
Tests the formatter settings. |
DatetimeViewsHooks |
class |
core/modules/datetime/src/Hook/DatetimeViewsHooks.php |
Hook implementations for datetime. |
DatetimeViewsHooks.php |
file |
core/modules/datetime/src/Hook/DatetimeViewsHooks.php |
|
DatetimeViewsHooks::fieldViewsData |
function |
core/modules/datetime/src/Hook/DatetimeViewsHooks.php |
Implements hook_field_views_data(). |
DateTimeWidgetBase |
class |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php |
Base class for the 'datetime_*' widgets. |
DateTimeWidgetBase.php |
file |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php |
|
DateTimeWidgetBase::createDefaultValue |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php |
Creates a date object for use as a default value. |
DateTimeWidgetBase::formElement |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php |
Returns the form for a single field widget. |
DateTimeWidgetBase::massageFormValues |
function |
core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php |
Massages the form values into the format expected for field values. |
DateTimeWidgetTest |
class |
core/modules/datetime/tests/src/Functional/DateTimeWidgetTest.php |
Tests Datetime widgets functionality. |