diff --git a/drupal/modules/avoindata-theme/config/install/core.entity_form_display.node.page.default.yml b/drupal/modules/avoindata-theme/config/install/core.entity_form_display.node.page.default.yml deleted file mode 100644 index 3c282b6c0e..0000000000 --- a/drupal/modules/avoindata-theme/config/install/core.entity_form_display.node.page.default.yml +++ /dev/null @@ -1,98 +0,0 @@ -langcode: fi -status: true -dependencies: - config: - - field.field.node.page.body - - field.field.node.page.field_image - - image.style.thumbnail - - node.type.page - module: - - image - - path - - text -_core: - default_config_hash: sb0qCkzU_8mNq29NehYAU8jCBXWPLeX0UN8sYFVGVcw -id: node.page.default -targetEntityType: node -bundle: page -mode: default -content: - body: - type: text_textarea_with_summary - weight: 8 - region: content - settings: - rows: 9 - summary_rows: 3 - placeholder: '' - third_party_settings: { } - created: - type: datetime_timestamp - weight: 3 - region: content - settings: { } - third_party_settings: { } - field_image: - type: image_image - weight: 10 - region: content - settings: - progress_indicator: throbber - preview_image_style: thumbnail - third_party_settings: { } - langcode: - type: language_select - weight: 1 - region: content - settings: - include_locked: true - third_party_settings: { } - path: - type: path - weight: 7 - region: content - settings: { } - third_party_settings: { } - promote: - type: boolean_checkbox - settings: - display_label: true - weight: 5 - region: content - third_party_settings: { } - status: - type: boolean_checkbox - settings: - display_label: true - weight: 9 - region: content - third_party_settings: { } - sticky: - type: boolean_checkbox - settings: - display_label: true - weight: 6 - region: content - 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 - size: 60 - placeholder: '' - third_party_settings: { } diff --git a/drupal/modules/avoindata-theme/config/install/core.entity_view_display.node.page.default.yml b/drupal/modules/avoindata-theme/config/install/core.entity_view_display.node.page.default.yml deleted file mode 100644 index fe9e1416ae..0000000000 --- a/drupal/modules/avoindata-theme/config/install/core.entity_view_display.node.page.default.yml +++ /dev/null @@ -1,42 +0,0 @@ -langcode: fi -status: true -dependencies: - config: - - field.field.node.page.body - - field.field.node.page.field_image - - node.type.page - module: - - image - - text - - user -id: node.page.default -targetEntityType: node -bundle: page -mode: default -content: - body: - type: text_default - label: hidden - settings: { } - third_party_settings: { } - weight: 0 - region: content - field_image: - type: image - label: above - settings: - image_link: '' - image_style: '' - image_loading: - attribute: lazy - third_party_settings: { } - weight: 2 - region: content - links: - settings: { } - third_party_settings: { } - weight: 1 - region: content -hidden: - langcode: true - search_api_excerpt: true diff --git a/drupal/modules/avoindata-theme/config/install/field.field.node.page.field_image.yml b/drupal/modules/avoindata-theme/config/install/field.field.node.page.field_image.yml deleted file mode 100644 index e8066d9b3b..0000000000 --- a/drupal/modules/avoindata-theme/config/install/field.field.node.page.field_image.yml +++ /dev/null @@ -1,44 +0,0 @@ -langcode: fi -status: true -dependencies: - config: - - field.storage.node.field_image - - node.type.page - module: - - content_translation - - image -third_party_settings: - content_translation: - translation_sync: - alt: alt - title: title - file: '0' -id: node.page.field_image -field_name: field_image -entity_type: node -bundle: page -label: Kuva -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - file_directory: '[date:custom:Y]-[date:custom:m]' - file_extensions: 'png gif jpg jpeg svg' - max_filesize: '' - max_resolution: '' - min_resolution: '' - alt_field: true - alt_field_required: true - title_field: false - title_field_required: false - default_image: - uuid: '' - alt: '' - title: '' - width: null - height: null - handler: 'default:file' - handler_settings: { } -field_type: image diff --git a/drupal/modules/avoindata-theme/config/install/language.content_settings.node.page.yml b/drupal/modules/avoindata-theme/config/install/language.content_settings.node.page.yml deleted file mode 100644 index fcda71a12e..0000000000 --- a/drupal/modules/avoindata-theme/config/install/language.content_settings.node.page.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: fi -status: true -dependencies: - config: - - node.type.page - module: - - content_translation -third_party_settings: - content_translation: - enabled: true -_core: - default_config_hash: 21RHPFh-gwdgk2GZV9Y-X9gF1IRPAAEFCL_XAU4Wfic -id: node.page -target_entity_type_id: node -target_bundle: page -default_langcode: site_default -language_alterable: true diff --git a/drupal/modules/avoindata-theme/config/install/node.type.page.yml b/drupal/modules/avoindata-theme/config/install/node.type.page.yml deleted file mode 100644 index 9c2431e875..0000000000 --- a/drupal/modules/avoindata-theme/config/install/node.type.page.yml +++ /dev/null @@ -1,20 +0,0 @@ -langcode: fi -status: true -dependencies: - module: - - menu_ui -third_party_settings: - menu_ui: - available_menus: - - main - parent: 'main:' -_core: - default_config_hash: KuyA4NHPXcmKAjRtwa0vQc2ZcyrUJy6IlS2TAyMNRbc -name: 'Basic page' -type: page -description: 'Use basic pages for your static content, such as an ''About us'' page, which doesn''t fall under any other content type' -help: '' -new_revision: true -preview_mode: 1 -display_submitted: false -translatable: true diff --git a/drupal/scripts/init_drupal.sh b/drupal/scripts/init_drupal.sh index 46c8ecabfe..ac4e07c46a 100644 --- a/drupal/scripts/init_drupal.sh +++ b/drupal/scripts/init_drupal.sh @@ -161,6 +161,8 @@ drush config:delete easy_breadcrumb.settings drush config:delete node.type.page || true drush config:delete core.entity_form_display.node.page.default || true drush config:delete core.entity_view_display.node.page.default || true +drush config:delete core.base_field_override.node.page.promote || true +drush config:delete field.field.node.page.body || true drush config:delete pathauto.settings || true drush config:delete captcha.captcha_point.contact_message_feedback_form || true drush config:delete core.base_field_override.node.article.promote || true