Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-9230: Add after_school_activity_card #548

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
uuid: 848ab6fd-17ee-43a7-8a1d-5dbef1cd99e6
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.tpr_unit.after_school_activity_card
- field.field.tpr_unit.tpr_unit.field_categories
- field.field.tpr_unit.tpr_unit.field_content
- field.field.tpr_unit.tpr_unit.field_districts
- field.field.tpr_unit.tpr_unit.field_hs_front_page
- field.field.tpr_unit.tpr_unit.field_lower_content
- field.field.tpr_unit.tpr_unit.field_metatags
- field.field.tpr_unit.tpr_unit.field_ontologyword_details
- field.field.tpr_unit.tpr_unit.field_study_field
- field.field.tpr_unit.tpr_unit.field_unit_type
module:
- address
- helfi_address_search
- helfi_tpr
_core:
default_config_hash: SoKM8cPSwNeMsP8ZRG0b8B8n-e1Uy9yoMmPk018vmoY
id: tpr_unit.tpr_unit.after_school_activity_card
targetEntityType: tpr_unit
bundle: tpr_unit
mode: after_school_activity_card
content:
address:
type: address_plain
label: hidden
settings: { }
third_party_settings: { }
weight: 2
region: content
name:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
name_override:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
region: content
opening_hours:
type: tpr_connection
label: hidden
settings: { }
third_party_settings: { }
weight: 3
region: content
provided_languages:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 4
region: content
hidden:
accessibility_email: true
accessibility_phone: true
accessibility_sentences: true
accessibility_www: true
address_postal: true
call_charge_info: true
contacts: true
created: true
description: true
email: true
enrich_description: true
field_categories: true
field_content: true
field_districts: true
field_hs_front_page: true
field_lower_content: true
field_metatags: true
field_ontologyword_details: true
field_study_field: true
field_unit_type: true
hide_description: true
highlights: true
langcode: true
latitude: true
links: true
longitude: true
other_info: true
phone: true
picture_url: true
picture_url_override: true
price_info: true
search_api_excerpt: true
service_map_embed: true
services: true
show_www: true
streetview_entrance_url: true
subgroup: true
toc_enabled: true
topical: true
unit_picture_caption: true
www: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: e6488cfa-a137-4c20-aba9-94297b9307fc
langcode: en
status: true
dependencies:
module:
- helfi_tpr
id: tpr_unit.after_school_activity_card
label: 'After-school activity card'
description: ''
targetEntityType: tpr_unit
cache: true
6 changes: 4 additions & 2 deletions conf/cmi/views.view.after_school_activity_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.tpr_unit.minimal
- core.entity_view_mode.tpr_unit.after_school_activity_card
- taxonomy.vocabulary.unit_type
module:
- better_exposed_filters
Expand Down Expand Up @@ -76,7 +76,7 @@ display:
hide_empty: false
empty_zero: false
hide_alter_empty: true
view_mode: minimal
view_mode: after_school_activity_card
distance:
id: distance
table: tpr_unit
Expand Down Expand Up @@ -461,6 +461,7 @@ display:
- user
- user.permissions
tags:
- 'config:core.entity_view_display.tpr_unit.tpr_unit.after_school_activity_card'
- 'config:core.entity_view_display.tpr_unit.tpr_unit.comprehensive_school_card'
- 'config:core.entity_view_display.tpr_unit.tpr_unit.default'
- 'config:core.entity_view_display.tpr_unit.tpr_unit.high_school_card'
Expand All @@ -485,6 +486,7 @@ display:
- user
- user.permissions
tags:
- 'config:core.entity_view_display.tpr_unit.tpr_unit.after_school_activity_card'
- 'config:core.entity_view_display.tpr_unit.tpr_unit.comprehensive_school_card'
- 'config:core.entity_view_display.tpr_unit.tpr_unit.default'
- 'config:core.entity_view_display.tpr_unit.tpr_unit.high_school_card'
Expand Down