Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
DateRangeCustomFormatter class core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Plugin implementation of the 'Custom' formatter for 'daterange' fields.
DateRangeCustomFormatter.php file core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php
DateRangeCustomFormatter::defaultSettings function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Defines the default settings for this plugin.
DateRangeCustomFormatter::settingsForm function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Returns a form to configure settings for the formatter.
DateRangeCustomFormatter::settingsSummary function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Returns a short summary for the current formatter settings.
DateRangeCustomFormatter::viewElements function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Builds a renderable array for a field value.
DateRangeDefaultWidget::$dateStorage property core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php The date format storage.
DateRangeFieldTest::doTestFromToSetting function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Performs the test of the 'from_to' setting for given test data.
DateRangeFieldTest::fromToSettingDataProvider function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Provides data for testing the 'from_to' setting.
DateRangeFieldTest::testDateStorageSettings function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests that 'Date' field storage setting form is disabled if field has data.
DateRangeFieldTest::testFromToSeparatorState function core/modules/datetime_range/tests/src/FunctionalJavascript/DateRangeFieldTest.php Tests the conditional visibility of the 'Date separator' field.
DateRangeItem::storageSettingsForm function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Returns a form for the storage-level settings.
DateRangeItemTest::$fieldStorage property core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php A field storage to use in this test class.
DateTestBase::$fieldStorage property core/modules/datetime/tests/src/Functional/DateTestBase.php A field storage to use in this test class.
DateTimeCustomFormatter class core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php Plugin implementation of the 'Custom' formatter for 'datetime' fields.
DateTimeCustomFormatter.php file core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php
DateTimeCustomFormatter::defaultSettings function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php Defines the default settings for this plugin.
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.
DateTimeDefaultWidget::$dateStorage property core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php The date format storage.
DateTimeFieldItemList::DEFAULT_VALUE_CUSTOM constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Defines the default value as relative.
DateTimeFieldTest::testDateStorageSettings function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests that 'Date' field storage setting form is disabled if field has data.
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::$dateFormatStorage property core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php The date format entity storage.
DateTimeHandlerTestBase::getUTCEquivalentOfUserNowAsTimestamp function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Returns UTC timestamp of user's TZ 'now'.
DateTimeItem::defaultStorageSettings function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Defines the storage-level settings for this plugin.
DateTimeItem::storageSettingsForm function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Returns a form for the storage-level settings.
DateTimeItemInterface::DATETIME_STORAGE_FORMAT constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the format that date and time should be stored in.
DateTimeItemInterface::DATE_STORAGE_FORMAT constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the format that dates should be stored in.
DateTimeItemInterface::STORAGE_TIMEZONE constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the timezone that dates should be stored in.
DateTimeItemTest::$fieldStorage property core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php A field storage to use in this test class.
DateTimePlus::arrayToISO function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates an ISO date from an array of values.
DateTimePlusTest::providerTestInvalidConstructor function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provider for testInvalidConstructor().
DateTimePlusTest::testInvalidConstructor function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests invalid values passed to constructor.
DateTimeRangeTrait::getFromToOptions function core/modules/datetime_range/src/DateTimeRangeTrait.php Returns a list of possible values for the 'from_to' setting.
DateTimeTest::testEnteringDateTimeViaSelectors function core/modules/system/tests/src/Functional/System/DateTimeTest.php Tests handling case with invalid data in selectors (like February, 31st).
DateTimeTimeAgoFormatterTest::$fieldStorage property core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php A field storage to use in this test class.
db-tools.php file core/scripts/db-tools.php A command line application to import a database generation script.
DbLogController::$userStorage property core/modules/dblog/src/Controller/DbLogController.php The user storage.
DbLogController::topLogMessages function core/modules/dblog/src/Controller/DbLogController.php Shows the most frequent log messages of a given event type.
DbLogTest::testOnError function core/modules/dblog/tests/src/Functional/DbLogTest.php Tests that the details page displays the backtrace for a logged \Throwable.
DbLogTest::testOverviewLinks function core/modules/dblog/tests/src/Functional/DbLogTest.php Make sure HTML tags are filtered out in the log overview links.
DbToolsApplication class core/lib/Drupal/Core/Command/DbToolsApplication.php Provides a command to import a database generation script.
DbToolsApplication.php file core/lib/Drupal/Core/Command/DbToolsApplication.php
DbToolsApplication::getDefaultCommands function core/lib/Drupal/Core/Command/DbToolsApplication.php
DbToolsApplication::__construct function core/lib/Drupal/Core/Command/DbToolsApplication.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.