DateTimeFieldRdfaTest::$modules |
property |
core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php |
Modules to enable. |
DateTimeFieldRdfaTest::$testValue |
property |
core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php |
The 'value' property value for testing. |
DateTimeFieldRdfaTest::setUp |
function |
core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php |
Set the default field storage backend for fields created during tests. |
DateTimeFieldRdfaTest::testDefaultFormatter |
function |
core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php |
Tests the default formatter. |
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. |
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 enable. |
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::setUp |
function |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
|
DateTimeFormInjectionTest::submitForm |
function |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
Form submission handler. |
DateTimeFormInjectionTest::testDatetimeSerialization |
function |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
Tests custom string injection serialization. |
DateTimeFormInjectionTest::validateForm |
function |
core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php |
Form validation handler. |