interface DateTimeRangeConstantsInterface
Same name in other branches
- 10 core/modules/datetime_range/src/DateTimeRangeConstantsInterface.php \Drupal\datetime_range\DateTimeRangeConstantsInterface
Declares constants used in the datetime range module.
@todo Convert this to an enum in 11.0.
Hierarchy
- interface \Drupal\datetime_range\DateTimeRangeConstantsInterface
Expanded class hierarchy of DateTimeRangeConstantsInterface
All classes that implement DateTimeRangeConstantsInterface
See also
https://www.drupal.org/project/drupal/issues/3425141.
2 files declare their use of DateTimeRangeConstantsInterface
- DateRangeFieldTest.php in core/
modules/ datetime_range/ tests/ src/ FunctionalJavascript/ DateRangeFieldTest.php - DateRangeFieldTest.php in core/
modules/ datetime_range/ tests/ src/ Functional/ DateRangeFieldTest.php
File
-
core/
modules/ datetime_range/ src/ DateTimeRangeConstantsInterface.php, line 11
Namespace
Drupal\datetime_rangeView source
interface DateTimeRangeConstantsInterface {
/**
* Values for the 'from_to' formatter setting.
*/
const BOTH = 'both';
const START_DATE = 'start_date';
const END_DATE = 'end_date';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
DateTimeRangeConstantsInterface::BOTH | constant | Values for the 'from_to' formatter setting. | |
DateTimeRangeConstantsInterface::END_DATE | constant | ||
DateTimeRangeConstantsInterface::START_DATE | constant |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.