diff --git a/config/install/core.entity_form_display.node.uw_ct_service.default.yml b/config/install/core.entity_form_display.node.uw_ct_service.default.yml index 2d5f39a56debcc2c3e5cf13caa0966a2683723e2..9591152287e33b51bdd2ed0ef32b9382b1078176 100644 --- a/config/install/core.entity_form_display.node.uw_ct_service.default.yml +++ b/config/install/core.entity_form_display.node.uw_ct_service.default.yml @@ -45,6 +45,7 @@ dependencies: - maxlength - media_library - metatag + - office_hours - paragraphs - path - scheduler @@ -347,7 +348,7 @@ content: hide_help: '0' hide_guidelines: '0' field_uw_service_hours: - type: office_hours_exception + type: office_hours_exceptions weight: 6 region: content settings: { } diff --git a/config/install/core.entity_view_display.node.uw_ct_service.teaser.yml b/config/install/core.entity_view_display.node.uw_ct_service.teaser.yml index e8dcc6b00248ff3b1411a5c7c6ac9feebe482692..93736169183d18258485f2382c62a475dd3f9890 100644 --- a/config/install/core.entity_view_display.node.uw_ct_service.teaser.yml +++ b/config/install/core.entity_view_display.node.uw_ct_service.teaser.yml @@ -37,6 +37,7 @@ dependencies: - node.type.uw_ct_service module: - fences + - office_hours - user id: node.uw_ct_service.teaser targetEntityType: node @@ -44,14 +45,16 @@ bundle: uw_ct_service mode: teaser content: field_uw_service_hours: - type: office_hours_exceptions_default + type: office_hours label: hidden settings: - show_closed: all - office_hours_first_day: '' day_format: long time_format: g + compress: false + grouped: false + show_closed: all closed_format: Closed + all_day_format: 'All day open' separator: days: '<br />' grouped_days: ' - ' @@ -63,14 +66,14 @@ content: open_text: 'Currently open!' closed_text: 'Currently closed' exceptions: - restrict_exceptions_to_num_days: '7' - date_format: all_day_format title: 'Closed/changed hours' - compress: 0 - grouped: 0 - schema: - enabled: 0 + restrict_exceptions_to_num_days: 7 + date_format: long + all_day_format: '' timezone_field: '' + office_hours_first_day: '' + schema: + enabled: false third_party_settings: fences: fences_field_tag: div diff --git a/config/install/field.storage.node.field_uw_service_hours.yml b/config/install/field.storage.node.field_uw_service_hours.yml index 107a1f2126add9651746dcc5fb47002272551f22..91cc6efeeaf77b14efaf908bdbe873f30ff6e603 100644 --- a/config/install/field.storage.node.field_uw_service_hours.yml +++ b/config/install/field.storage.node.field_uw_service_hours.yml @@ -12,12 +12,15 @@ settings: time_format: g element_type: office_hours_datetime increment: 1 + valhrs: true required_start: false limit_start: '' required_end: false limit_end: '' - comment: 0 - valhrs: true + all_day: true + exceptions: true + seasons: false + comment: 2 cardinality_per_day: 2 module: office_hours locked: false