Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| DateSqlInterface | interface | core/ |
Defines an interface for handling date queries with SQL. |
| DateSqlInterface.php | file | core/ |
|
| DateSqlInterface::getDateField | function | core/ |
Returns a native database expression for a given field. |
| DateSqlInterface::getDateFormat | function | core/ |
Creates a native database date formatting. |
| DateSqlInterface::setFieldTimezoneOffset | function | core/ |
Applies the given offset to the given field. |
| DateSqlInterface::setTimezoneOffset | function | core/ |
Set the database to the given timezone. |
| DateTest | class | core/ |
@coversDefaultClass \Drupal\Core\Datetime\DateFormatter[[api-linebreak]] @group Datetime |
| DateTest.php | file | core/ |
|
| DateTest::$dateFormatter | property | core/ |
The mocked date formatter class. |
| DateTest::$dateFormatterStub | property | core/ |
The date formatter class where methods can be stubbed. |
| DateTest::$entityTypeManager | property | core/ |
The mocked entity type manager. |
| DateTest::$languageManager | property | core/ |
The mocked language manager. |
| DateTest::$requestStack | property | core/ |
The mocked string translation. |
| DateTest::$stringTranslation | property | core/ |
The mocked string translation. |
| DateTest::createTimestamp | function | core/ |
Creates a UNIX timestamp given a date and time string. |
| DateTest::providerTestFormatDiff | function | core/ |
Data provider for testFormatDiff(). |
| DateTest::providerTestFormatInterval | function | core/ |
Provides some test data for the format interval test. |
| DateTest::setUp | function | core/ |
|
| DateTest::testFormatDiff | function | core/ |
Tests the formatDiff method. |
| DateTest::testFormatInterval | function | core/ |
Tests the formatInterval method. |
| DateTest::testFormatIntervalZeroSecond | function | core/ |
Tests the formatInterval method for 0 second. |
| DateTest::testFormattedDateDiff | function | core/ |
Tests FormattedDateDiff. |
| DateTest::testFormatTimeDiffSince | function | core/ |
Tests the formatTimeDiffSince method. |
| DateTest::testFormatTimeDiffUntil | function | core/ |
Tests the formatTimeDiffUntil method. |
| DateTest::testGetSampleDateFormats | function | core/ |
Tests the getSampleDateFormats method. |
| DateTestBase | class | core/ |
Provides a base class for testing Datetime field functionality. |
| DateTestBase.php | file | core/ |
|
| DateTestBase::$dateFormatter | property | core/ |
The date formatter service. |
| DateTestBase::$displayOptions | property | core/ |
An array of display options. |
| DateTestBase::$field | property | core/ |
The field used in this test class. |
| DateTestBase::$fieldStorage | property | core/ |
A field storage to use in this test class. |
| DateTestBase::$modules | property | core/ |
Modules to enable. |
| DateTestBase::$timezones | property | core/ |
An array of timezone extremes to test. |
| DateTestBase::createField | function | core/ |
Creates a date test field. |
| DateTestBase::getTestFieldType | function | core/ |
Returns the type of field to be tested. |
| DateTestBase::massageTestDate | function | core/ |
Massages test date values. |
| DateTestBase::renderTestEntity | function | core/ |
Renders an entity_test and sets the output in the internal browser. |
| DateTestBase::setSiteTimezone | function | core/ |
Sets the site timezone to a given timezone. |
| DateTestBase::setUp | function | core/ |
|
| Datetime | class | core/ |
Provides a datetime element. |
| datetime-form.html.twig | file | core/ |
Default theme implementation of a datetime form element. |
| datetime-form.html.twig | file | core/ |
Theme override of a datetime form element. |
| datetime-form.html.twig | file | core/ |
Theme override of a datetime form element. |
| datetime-form.html.twig | file | core/ |
Theme override of a datetime form element. |
| datetime-form.html.twig | file | core/ |
Theme override of a datetime form element. |
| datetime-form.html.twig | file | core/ |
Theme override of a datetime form element. |
| datetime-form.html.twig | file | core/ |
Theme override of a datetime form element. |
| datetime-form.html.twig | file | core/ |
Theme override of a datetime form element. |
| datetime-form.html.twig | file | core/ |
Theme override of a datetime form element. |
| datetime-form.html.twig | file | core/ |
Theme override of a datetime form element. |
Pagination
- Previous page
- Page 362
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.