Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| DateTimeFieldTest::testDatetimeField | function | core/ |
Tests date and time field. |
| DateTimeFieldTest::testDefaultValue | function | core/ |
Tests default value functionality. |
| DateTimeFieldTest::testInvalidField | function | core/ |
Tests that invalid values are caught and marked as invalid. |
| DateTimeFormatConstraint | class | core/ |
Validation constraint for DateTime items to ensure the format is correct. |
| DateTimeFormatConstraint.php | file | core/ |
|
| DateTimeFormatConstraint::$badFormat | property | core/ |
Message for when the value isn't in the proper format. |
| DateTimeFormatConstraint::$badType | property | core/ |
Message for when the value isn't a string. |
| DateTimeFormatConstraint::$badValue | property | core/ |
Message for when the value did not parse properly. |
| DateTimeFormatConstraintValidator | class | core/ |
Constraint validator for DateTime items to ensure the format is correct. |
| DateTimeFormatConstraintValidator.php | file | core/ |
|
| DateTimeFormatConstraintValidator::validate | function | core/ |
|
| DateTimeFormatterBase | class | core/ |
Base class for 'DateTime Field formatter' plugin implementations. |
| DateTimeFormatterBase.php | file | core/ |
|
| DateTimeFormatterBase::$dateFormatStorage | property | core/ |
The date format entity storage. |
| DateTimeFormatterBase::$dateFormatter | property | core/ |
The date formatter service. |
| DateTimeFormatterBase::buildDate | function | core/ |
Creates a render array from a date object. |
| DateTimeFormatterBase::buildDateWithIsoAttribute | function | core/ |
Creates a render array from a date object with ISO date attribute. |
| DateTimeFormatterBase::create | function | core/ |
Creates an instance of the plugin. |
| DateTimeFormatterBase::defaultSettings | function | core/ |
Defines the default settings for this plugin. |
| DateTimeFormatterBase::formatDate | function | core/ |
Creates a formatted date value as a string. |
| DateTimeFormatterBase::getFormatSettings | function | core/ |
Gets a settings array suitable for DrupalDateTime::format(). |
| DateTimeFormatterBase::setTimeZone | function | core/ |
Sets the proper time zone on a DrupalDateTime object for the current user. |
| DateTimeFormatterBase::settingsForm | function | core/ |
Returns a form to configure settings for the formatter. |
| DateTimeFormatterBase::settingsSummary | function | core/ |
Returns a short summary for the current formatter settings. |
| DateTimeFormatterBase::viewElements | function | core/ |
Builds a renderable array for a field value. |
| DateTimeFormatterBase::__construct | function | core/ |
Constructs a new DateTimeDefaultFormatter. |
| DateTimeFormInjectionTest | class | core/ |
Tests serializing a form with an injected datetime instance. |
| DateTimeFormInjectionTest.php | file | core/ |
|
| DateTimeFormInjectionTest::$logger | property | core/ |
A Dblog logger instance. |
| DateTimeFormInjectionTest::$modules | property | core/ |
Modules to enable. |
| DateTimeFormInjectionTest::buildForm | function | core/ |
Form constructor. |
| DateTimeFormInjectionTest::getFormId | function | core/ |
Returns a unique string identifying the form. |
| DateTimeFormInjectionTest::process | function | core/ |
Process callback. |
| DateTimeFormInjectionTest::setUp | function | core/ |
|
| DateTimeFormInjectionTest::submitForm | function | core/ |
Form submission handler. |
| DateTimeFormInjectionTest::testDatetimeSerialization | function | core/ |
Tests custom string injection serialization. |
| DateTimeFormInjectionTest::validateForm | function | core/ |
Form validation handler. |
| DateTimeHandlerTestBase | class | core/ |
Base class for testing datetime handlers. |
| DateTimeHandlerTestBase.php | file | core/ |
|
| DateTimeHandlerTestBase::$field_name | property | core/ |
Name of the field. |
| DateTimeHandlerTestBase::$field_type | property | core/ |
Type of the field. |
| DateTimeHandlerTestBase::$map | property | core/ |
Column map. |
| DateTimeHandlerTestBase::$modules | property | core/ |
Modules to enable. |
| DateTimeHandlerTestBase::$nodes | property | core/ |
Nodes to test. |
| DateTimeHandlerTestBase::getRelativeDateValuesFromTimestamp | function | core/ |
Returns an array formatted date_only values relative to timestamp. |
| DateTimeHandlerTestBase::getUTCEquivalentOfUserNowAsTimestamp | function | core/ |
Returns UTC timestamp of user's TZ 'now'. |
| DateTimeHandlerTestBase::setSiteTimezone | function | core/ |
Sets the site timezone to a given timezone. |
| DateTimeHandlerTestBase::setUp | function | core/ |
|
| DateTimeInterface | interface | core/ |
Interface for dates, optionally including a time. |
| DateTimeInterface.php | file | core/ |
Pagination
- Previous page
- Page 365
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.