diff --git a/conf/cmi/core.entity_form_display.node.news_article.default.yml b/conf/cmi/core.entity_form_display.node.news_article.default.yml index db4ad8b92..ac8584095 100644 --- a/conf/cmi/core.entity_form_display.node.news_article.default.yml +++ b/conf/cmi/core.entity_form_display.node.news_article.default.yml @@ -110,7 +110,7 @@ content: entity_reference_entity_view: view_mode: default entity_reference_label: - link: true + link: false show_description: false third_party_settings: { } created: diff --git a/conf/cmi/core.entity_form_display.node.news_item.default.yml b/conf/cmi/core.entity_form_display.node.news_item.default.yml index 8aad60eb2..88d63a300 100644 --- a/conf/cmi/core.entity_form_display.node.news_item.default.yml +++ b/conf/cmi/core.entity_form_display.node.news_item.default.yml @@ -126,7 +126,7 @@ content: entity_reference_entity_view: view_mode: default entity_reference_label: - link: true + link: false show_description: false third_party_settings: { } created: diff --git a/public/modules/custom/helfi_etusivu_config/config/rewrite/core.entity_form_display.node.news_item.default.yml b/public/modules/custom/helfi_etusivu_config/config/rewrite/core.entity_form_display.node.news_item.default.yml index e46ef7a88..87e9f4ebf 100644 --- a/public/modules/custom/helfi_etusivu_config/config/rewrite/core.entity_form_display.node.news_item.default.yml +++ b/public/modules/custom/helfi_etusivu_config/config/rewrite/core.entity_form_display.node.news_item.default.yml @@ -102,7 +102,7 @@ content: entity_reference_entity_view: view_mode: default entity_reference_label: - link: true + link: false show_description: false third_party_settings: { } hidden: diff --git a/public/modules/custom/helfi_node_news_article/config/install/core.entity_form_display.node.news_article.default.yml b/public/modules/custom/helfi_node_news_article/config/install/core.entity_form_display.node.news_article.default.yml index 12dc21168..17b5e7b90 100644 --- a/public/modules/custom/helfi_node_news_article/config/install/core.entity_form_display.node.news_article.default.yml +++ b/public/modules/custom/helfi_node_news_article/config/install/core.entity_form_display.node.news_article.default.yml @@ -25,6 +25,7 @@ dependencies: - path - publication_date - radioactivity + - readonly_field_widget - scheduler - select2 third_party_settings: @@ -75,11 +76,41 @@ third_party_settings: open: false description: '' required_fields: true + group_automatically_recommended: + children: + - in_recommendations + - show_annif_block + - annif_keywords + label: 'Automatically recommended content' + region: content + parent_name: '' + weight: 25 + format_type: fieldset + format_settings: + classes: '' + show_empty_fields: false + id: '' + description: 'Recommended content may include news or articles. Recommendations are based on automatically selected news categories. The news categories are chosen based on the page content when the page is saved.' + required_fields: false id: node.news_article.default targetEntityType: node bundle: news_article mode: default content: + annif_keywords: + type: readonly_field_widget + weight: 30 + region: content + settings: + label: above + formatter_type: entity_reference_label + formatter_settings: + entity_reference_entity_view: + view_mode: default + entity_reference_label: + link: false + show_description: false + third_party_settings: { } created: type: datetime_timestamp weight: 4 @@ -196,6 +227,13 @@ content: size: 60 placeholder: '' third_party_settings: { } + in_recommendations: + type: boolean_checkbox + weight: 28 + region: content + settings: + display_label: true + third_party_settings: { } langcode: type: language_select weight: 0 @@ -233,6 +271,13 @@ content: region: content settings: { } third_party_settings: { } + show_annif_block: + type: boolean_checkbox + weight: 29 + region: content + settings: + display_label: true + third_party_settings: { } simple_sitemap: weight: 12 region: content