Skip to content
Snippets Groups Projects
Commit 20c05b5c authored by catch's avatar catch
Browse files

Issue #3401464 by anushrikumari, sime, shweta__sharma, lauriii, ankithashetty,...

Issue #3401464 by anushrikumari, sime, shweta__sharma, lauriii, ankithashetty, sijumpk, rkoller: Date range should be in the date_time category
parent 64f1c854
No related branches found
No related tags found
Loading
...@@ -16,7 +16,12 @@ ...@@ -16,7 +16,12 @@
* @FieldType( * @FieldType(
* id = "daterange", * id = "daterange",
* label = @Translation("Date range"), * label = @Translation("Date range"),
* description = @Translation("Create and store date ranges."), * category = "date_time",
* description = {
* @Translation("Ideal for storing durations that consist of start and end dates (and times)"),
* @Translation("Choose between setting both date and time, or date only, for each duration"),
* @Translation("The system automatically validates that the end date (and time) is later than the start, and both fields are completed"),
* },
* default_widget = "daterange_default", * default_widget = "daterange_default",
* default_formatter = "daterange_default", * default_formatter = "daterange_default",
* list_class = "\Drupal\datetime_range\Plugin\Field\FieldType\DateRangeFieldItemList" * list_class = "\Drupal\datetime_range\Plugin\Field\FieldType\DateRangeFieldItemList"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment