-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50c341b
commit 22eba73
Showing
93 changed files
with
1,998 additions
and
532 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
uuid: 54adecdb-2fac-48d3-8b0f-9a68c5fbd352 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- helfi_etusivu_entities | ||
theme: | ||
- hdbt_subtheme | ||
id: surveys | ||
theme: hdbt_subtheme | ||
region: before_content | ||
weight: -15 | ||
provider: helfi_node_survey | ||
plugin: surveys | ||
settings: | ||
id: surveys | ||
label: Surveys | ||
label_display: '' | ||
provider: helfi_node_survey | ||
use_remote_entities: true | ||
visibility: { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
uuid: 0f67ac70-571e-43da-ae3f-eca271ee541a | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.survey | ||
_core: | ||
default_config_hash: jLPewbi-29Z_ekJ8NNa2EQwOjxhSBxFnXYwtX-8jx68 | ||
id: node.survey.promote | ||
field_name: promote | ||
entity_type: node | ||
bundle: survey | ||
label: 'Promoted to front page' | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
uuid: 66c7c3ae-fd35-4cd8-a4c2-54bc24cf5895 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.survey | ||
_core: | ||
default_config_hash: G0OKH2o0P5SCpFGpXz9jp9Yuxkm746qvgyc0FbBteRA | ||
id: node.survey.status | ||
field_name: status | ||
entity_type: node | ||
bundle: survey | ||
label: Published | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
uuid: 12bf02be-360b-498c-9891-fe06f94408b8 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.survey | ||
_core: | ||
default_config_hash: Opcalm7vjcrzzKeswLKzQkVtm9qRopCjMHYKtVTXBE4 | ||
id: node.survey.title | ||
field_name: title | ||
entity_type: node | ||
bundle: survey | ||
label: 'Survey title' | ||
description: '' | ||
required: true | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
134 changes: 134 additions & 0 deletions
134
conf/cmi/core.entity_form_display.node.survey.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
uuid: 2dea284e-6cc0-4e34-9d2f-37baa7317502 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.node.survey.body | ||
- field.field.node.survey.field_survey_content_pages | ||
- field.field.node.survey.field_survey_link | ||
- node.type.survey | ||
module: | ||
- hdbt_admin_tools | ||
- link | ||
- path | ||
- publication_date | ||
- scheduler | ||
- select2 | ||
- text | ||
_core: | ||
default_config_hash: SpA7JjzzI-4nAK5XY8JDkYoTn3X7NpV6TqEAFpFP5tY | ||
id: node.survey.default | ||
targetEntityType: node | ||
bundle: survey | ||
mode: default | ||
content: | ||
body: | ||
type: text_textarea_with_summary | ||
weight: 18 | ||
region: content | ||
settings: | ||
rows: 9 | ||
summary_rows: 3 | ||
placeholder: '' | ||
show_summary: false | ||
third_party_settings: { } | ||
created: | ||
type: datetime_timestamp | ||
weight: 3 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_survey_content_pages: | ||
type: select2_entity_reference | ||
weight: 14 | ||
region: content | ||
settings: | ||
width: 100% | ||
autocomplete: true | ||
match_operator: CONTAINS | ||
match_limit: 20 | ||
third_party_settings: { } | ||
field_survey_link: | ||
type: link_default | ||
weight: 19 | ||
region: content | ||
settings: | ||
placeholder_url: '' | ||
placeholder_title: '' | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 1 | ||
region: content | ||
settings: | ||
include_locked: false | ||
third_party_settings: { } | ||
path: | ||
type: path | ||
weight: 6 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
publish_on: | ||
type: datetime_timestamp_no_default | ||
weight: 7 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
published_at: | ||
type: publication_date_timestamp | ||
weight: 10 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
scheduler_settings: | ||
weight: 5 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
simple_sitemap: | ||
weight: 12 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 9 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
title: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
translation: | ||
weight: 4 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
uid: | ||
type: entity_reference_autocomplete | ||
weight: 2 | ||
region: content | ||
settings: | ||
match_operator: CONTAINS | ||
match_limit: 10 | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
unpublish_on: | ||
type: datetime_timestamp_no_default | ||
weight: 8 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: | ||
hide_sidebar_navigation: true | ||
promote: true | ||
sticky: true | ||
url_redirects: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
uuid: 1dab22c0-e5e8-487c-9050-9ba480532d07 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.node.survey.body | ||
- field.field.node.survey.field_survey_content_pages | ||
- field.field.node.survey.field_survey_link | ||
- node.type.survey | ||
module: | ||
- link | ||
- text | ||
- user | ||
_core: | ||
default_config_hash: VYCHZ7byxSgOpSFDqb2ad2yb3M5fWI43qAJbGREtaSQ | ||
id: node.survey.default | ||
targetEntityType: node | ||
bundle: survey | ||
mode: default | ||
content: | ||
body: | ||
type: text_default | ||
label: hidden | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 2 | ||
region: content | ||
field_survey_link: | ||
type: link | ||
label: hidden | ||
settings: | ||
trim_length: 80 | ||
url_only: false | ||
url_plain: false | ||
rel: '' | ||
target: '' | ||
third_party_settings: { } | ||
weight: 3 | ||
region: content | ||
links: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
hidden: | ||
field_survey_content_pages: true | ||
langcode: true | ||
published_at: true | ||
search_api_excerpt: true | ||
toc_enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
uuid: 394e2865-baf3-4603-9d97-57f59e49f5a6 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.node.teaser | ||
- field.field.node.survey.body | ||
- field.field.node.survey.field_survey_content_pages | ||
- field.field.node.survey.field_survey_link | ||
- node.type.survey | ||
module: | ||
- text | ||
- user | ||
_core: | ||
default_config_hash: RFZBuDFa3w1RzcoB4xT4zbJFvgZSCmJDaIfZUOpYzXI | ||
id: node.survey.teaser | ||
targetEntityType: node | ||
bundle: survey | ||
mode: teaser | ||
content: | ||
body: | ||
type: text_summary_or_trimmed | ||
label: hidden | ||
settings: | ||
trim_length: 600 | ||
third_party_settings: { } | ||
weight: 101 | ||
region: content | ||
links: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 100 | ||
region: content | ||
hidden: | ||
field_survey_content_pages: true | ||
field_survey_link: true | ||
langcode: true | ||
published_at: true | ||
search_api_excerpt: true | ||
toc_enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.