From 12949bece4581075e20aec991d9c49fbfe003270 Mon Sep 17 00:00:00 2001 From: Ide Braakman <17730-idebr@users.noreply.drupalcode.org> Date: Sat, 21 Sep 2024 15:03:16 +0000 Subject: [PATCH] Issue #3186304 by idebr, bgilhome, lobsterr, jcnventura: Add configuration schema for Single Date Time Picker field widgets --- config/schema/single_datetime.schema.yml | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 config/schema/single_datetime.schema.yml diff --git a/config/schema/single_datetime.schema.yml b/config/schema/single_datetime.schema.yml new file mode 100644 index 0000000..1111e94 --- /dev/null +++ b/config/schema/single_datetime.schema.yml @@ -0,0 +1,39 @@ +field.widget.settings.single_date_time_widget: + type: mapping + label: 'Single DateTime Picker Settings' + mapping: + hour_format: + type: string + allow_seconds: + type: boolean + allow_times: + type: string + allowed_hours: + type: string + disable_days: + type: sequence + sequence: + type: integer + exclude_date: + type: string + inline: + type: boolean + mask: + type: boolean + datetimepicker_theme: + type: string + start_date: + type: string + min_date: + type: string + max_date: + type: string + year_start: + type: string + year_end: + type: string + allow_blank: + type: boolean + +field.widget.settings.single_date_time_range_widget: + type: field.widget.settings.single_date_time_widget -- GitLab