diff --git a/core/lib/Drupal/Core/Config/ConfigInstaller.php b/core/lib/Drupal/Core/Config/ConfigInstaller.php index 0cc5d00..8dbf1a3 100644 --- a/core/lib/Drupal/Core/Config/ConfigInstaller.php +++ b/core/lib/Drupal/Core/Config/ConfigInstaller.php @@ -523,7 +523,7 @@ protected function validateDependencies($config_name, array $data, array $enable if (!empty($list_to_check)) { $missing = array_diff($dependencies, $list_to_check); if (!empty($missing)) { - return FALSE; + return FALSE; } } } diff --git a/core/modules/aggregator/config/install/core.entity_view_display.aggregator_feed.aggregator_feed.default.yml b/core/modules/aggregator/config/install/core.entity_view_display.aggregator_feed.aggregator_feed.default.yml index 58e360f..e3c23cf 100644 --- a/core/modules/aggregator/config/install/core.entity_view_display.aggregator_feed.aggregator_feed.default.yml +++ b/core/modules/aggregator/config/install/core.entity_view_display.aggregator_feed.aggregator_feed.default.yml @@ -1,31 +1,32 @@ +langcode: en +status: true +dependencies: + module: + - aggregator id: aggregator_feed.aggregator_feed.default targetEntityType: aggregator_feed bundle: aggregator_feed mode: default -status: true content: - items: - weight: 0 checked: type: timestamp_ago weight: 1 settings: { } third_party_settings: { } label: inline - image: - weight: 2 description: weight: 3 + feed_icon: + weight: 5 + image: + weight: 2 + items: + weight: 0 link: type: uri_link weight: 4 settings: { } third_party_settings: { } label: inline - feed_icon: - weight: 5 hidden: more_link: true -dependencies: - module: - - aggregator diff --git a/core/modules/aggregator/config/install/core.entity_view_display.aggregator_feed.aggregator_feed.summary.yml b/core/modules/aggregator/config/install/core.entity_view_display.aggregator_feed.aggregator_feed.summary.yml index 4c840d5..40425f2 100644 --- a/core/modules/aggregator/config/install/core.entity_view_display.aggregator_feed.aggregator_feed.summary.yml +++ b/core/modules/aggregator/config/install/core.entity_view_display.aggregator_feed.aggregator_feed.summary.yml @@ -1,22 +1,22 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.aggregator_feed.summary + module: + - aggregator id: aggregator_feed.aggregator_feed.summary targetEntityType: aggregator_feed bundle: aggregator_feed mode: summary -status: true content: items: weight: 0 more_link: weight: 1 hidden: - link: true checked: true description: true - image: true feed_icon: true -status: true -dependencies: - config: - - core.entity_view_mode.aggregator_feed.summary - module: - - aggregator + image: true + link: true diff --git a/core/modules/aggregator/config/install/core.entity_view_display.aggregator_item.aggregator_item.summary.yml b/core/modules/aggregator/config/install/core.entity_view_display.aggregator_item.aggregator_item.summary.yml index 6cb424d..39536e4 100644 --- a/core/modules/aggregator/config/install/core.entity_view_display.aggregator_item.aggregator_item.summary.yml +++ b/core/modules/aggregator/config/install/core.entity_view_display.aggregator_item.aggregator_item.summary.yml @@ -1,20 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.aggregator_item.summary + module: + - aggregator + - entity_reference id: aggregator_item.aggregator_item.summary targetEntityType: aggregator_item bundle: aggregator_item mode: summary -status: true content: timestamp: weight: 0 hidden: - link: true author: true - feed: true description: true -status: true -dependencies: - config: - - core.entity_view_mode.aggregator_item.summary - module: - - aggregator - - entity_reference + feed: true + link: true diff --git a/core/modules/aggregator/config/install/core.entity_view_mode.aggregator_feed.summary.yml b/core/modules/aggregator/config/install/core.entity_view_mode.aggregator_feed.summary.yml index c1b4bb8..b5df8cb 100644 --- a/core/modules/aggregator/config/install/core.entity_view_mode.aggregator_feed.summary.yml +++ b/core/modules/aggregator/config/install/core.entity_view_mode.aggregator_feed.summary.yml @@ -1,8 +1,9 @@ -id: aggregator_feed.summary -label: Summary +langcode: en status: true -cache: true -targetEntityType: aggregator_feed dependencies: module: - aggregator +id: aggregator_feed.summary +label: Summary +targetEntityType: aggregator_feed +cache: true diff --git a/core/modules/aggregator/config/install/core.entity_view_mode.aggregator_item.summary.yml b/core/modules/aggregator/config/install/core.entity_view_mode.aggregator_item.summary.yml index 58d6c7d..b7a3a96 100644 --- a/core/modules/aggregator/config/install/core.entity_view_mode.aggregator_item.summary.yml +++ b/core/modules/aggregator/config/install/core.entity_view_mode.aggregator_item.summary.yml @@ -1,8 +1,9 @@ -id: aggregator_item.summary -label: Summary +langcode: en status: true -cache: true -targetEntityType: aggregator_item dependencies: module: - aggregator +id: aggregator_item.summary +label: Summary +targetEntityType: aggregator_item +cache: true diff --git a/core/modules/block_content/config/install/core.entity_view_mode.block_content.full.yml b/core/modules/block_content/config/install/core.entity_view_mode.block_content.full.yml index c558d54..30115ee 100644 --- a/core/modules/block_content/config/install/core.entity_view_mode.block_content.full.yml +++ b/core/modules/block_content/config/install/core.entity_view_mode.block_content.full.yml @@ -1,8 +1,9 @@ -id: block_content.full -label: Full +langcode: en status: false -cache: true -targetEntityType: block_content dependencies: module: - block_content +id: block_content.full +label: Full +targetEntityType: block_content +cache: true diff --git a/core/modules/book/config/install/core.base_field_override.node.book.promote.yml b/core/modules/book/config/install/core.base_field_override.node.book.promote.yml index a368aed..79e2ed6 100644 --- a/core/modules/book/config/install/core.base_field_override.node.book.promote.yml +++ b/core/modules/book/config/install/core.base_field_override.node.book.promote.yml @@ -7,7 +7,7 @@ id: node.book.promote field_name: promote entity_type: node bundle: book -label: Promoted to front page +label: 'Promoted to front page' description: '' required: false translatable: true @@ -15,6 +15,7 @@ default_value: - value: 0 default_value_callback: '' -settings: { } -third_party_settings: { } +settings: + on_label: 'On' + off_label: 'Off' field_type: boolean diff --git a/core/modules/book/config/install/core.entity_form_display.node.book.default.yml b/core/modules/book/config/install/core.entity_form_display.node.book.default.yml index 0b7ccf6..7c2144d 100644 --- a/core/modules/book/config/install/core.entity_form_display.node.book.default.yml +++ b/core/modules/book/config/install/core.entity_form_display.node.book.default.yml @@ -12,19 +12,12 @@ targetEntityType: node bundle: book mode: default content: - title: - type: string_textfield - weight: -5 - settings: - size: 60 - placeholder: '' - third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 5 + body: + type: text_textarea_with_summary + weight: 26 settings: - match_operator: CONTAINS - size: 60 + rows: 9 + summary_rows: 3 placeholder: '' third_party_settings: { } created: @@ -44,13 +37,19 @@ content: display_label: true weight: 16 third_party_settings: { } - body: - type: text_textarea_with_summary - weight: 26 + title: + type: string_textfield + weight: -5 settings: - rows: 9 - summary_rows: 3 + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 5 + settings: + match_operator: CONTAINS + size: 60 placeholder: '' third_party_settings: { } hidden: { } -third_party_settings: { } diff --git a/core/modules/book/config/install/core.entity_view_display.node.book.default.yml b/core/modules/book/config/install/core.entity_view_display.node.book.default.yml index ff46c58..729516e 100644 --- a/core/modules/book/config/install/core.entity_view_display.node.book.default.yml +++ b/core/modules/book/config/install/core.entity_view_display.node.book.default.yml @@ -20,6 +20,4 @@ content: third_party_settings: { } links: weight: 101 -hidden: - langcode: true -third_party_settings: { } +hidden: { } diff --git a/core/modules/book/config/install/core.entity_view_display.node.book.teaser.yml b/core/modules/book/config/install/core.entity_view_display.node.book.teaser.yml index 61920f4..fb22db6 100644 --- a/core/modules/book/config/install/core.entity_view_display.node.book.teaser.yml +++ b/core/modules/book/config/install/core.entity_view_display.node.book.teaser.yml @@ -22,6 +22,4 @@ content: third_party_settings: { } links: weight: 101 -hidden: - langcode: true -third_party_settings: { } +hidden: { } diff --git a/core/modules/book/config/install/core.entity_view_mode.node.print.yml b/core/modules/book/config/install/core.entity_view_mode.node.print.yml index de47b0c..2706949 100644 --- a/core/modules/book/config/install/core.entity_view_mode.node.print.yml +++ b/core/modules/book/config/install/core.entity_view_mode.node.print.yml @@ -1,8 +1,5 @@ -id: node.print -label: Print +langcode: en status: false -cache: true -targetEntityType: node dependencies: module: - book @@ -10,3 +7,7 @@ dependencies: enforced: module: - book +id: node.print +label: Print +targetEntityType: node +cache: true diff --git a/core/modules/book/config/install/field.field.node.book.body.yml b/core/modules/book/config/install/field.field.node.book.body.yml index 4c128b6..b97b9fa 100644 --- a/core/modules/book/config/install/field.field.node.book.body.yml +++ b/core/modules/book/config/install/field.field.node.book.body.yml @@ -18,5 +18,4 @@ default_value: { } default_value_callback: '' settings: display_summary: true -third_party_settings: { } field_type: text_with_summary diff --git a/core/modules/book/config/install/node.type.book.yml b/core/modules/book/config/install/node.type.book.yml index a5076b2..531677f 100644 --- a/core/modules/book/config/install/node.type.book.yml +++ b/core/modules/book/config/install/node.type.book.yml @@ -11,7 +11,5 @@ type: book description: 'Books have a built-in hierarchical navigation. Use for handbooks or tutorials.' help: '' new_revision: false -display_submitted: true preview_mode: 1 display_submitted: true -third_party_settings: { } diff --git a/core/modules/comment/config/install/core.entity_view_mode.comment.full.yml b/core/modules/comment/config/install/core.entity_view_mode.comment.full.yml index c30d77d..b2013dd 100644 --- a/core/modules/comment/config/install/core.entity_view_mode.comment.full.yml +++ b/core/modules/comment/config/install/core.entity_view_mode.comment.full.yml @@ -1,8 +1,9 @@ -id: comment.full -label: 'Full comment' +langcode: en status: false -cache: true -targetEntityType: comment dependencies: module: - comment +id: comment.full +label: 'Full comment' +targetEntityType: comment +cache: true diff --git a/core/modules/comment/config/install/system.action.comment_publish_action.yml b/core/modules/comment/config/install/system.action.comment_publish_action.yml index e1e12ad..8fbd48d 100644 --- a/core/modules/comment/config/install/system.action.comment_publish_action.yml +++ b/core/modules/comment/config/install/system.action.comment_publish_action.yml @@ -1,9 +1,10 @@ -id: comment_publish_action -label: 'Publish comment' -status: true langcode: en -type: comment -plugin: comment_publish_action +status: true dependencies: module: - comment +id: comment_publish_action +label: 'Publish comment' +type: comment +plugin: comment_publish_action +configuration: { } diff --git a/core/modules/comment/config/install/system.action.comment_save_action.yml b/core/modules/comment/config/install/system.action.comment_save_action.yml index 8c605b0..640d281 100644 --- a/core/modules/comment/config/install/system.action.comment_save_action.yml +++ b/core/modules/comment/config/install/system.action.comment_save_action.yml @@ -1,9 +1,10 @@ -id: comment_save_action -label: 'Save comment' -status: true langcode: en -type: comment -plugin: comment_save_action +status: true dependencies: module: - comment +id: comment_save_action +label: 'Save comment' +type: comment +plugin: comment_save_action +configuration: { } diff --git a/core/modules/comment/config/install/system.action.comment_unpublish_action.yml b/core/modules/comment/config/install/system.action.comment_unpublish_action.yml index 5e8e169..99902e8 100644 --- a/core/modules/comment/config/install/system.action.comment_unpublish_action.yml +++ b/core/modules/comment/config/install/system.action.comment_unpublish_action.yml @@ -1,9 +1,10 @@ -id: comment_unpublish_action -label: 'Unpublish comment' -status: true langcode: en -type: comment -plugin: comment_unpublish_action +status: true dependencies: module: - comment +id: comment_unpublish_action +label: 'Unpublish comment' +type: comment +plugin: comment_unpublish_action +configuration: { } diff --git a/core/modules/contact/config/install/contact.form.personal.yml b/core/modules/contact/config/install/contact.form.personal.yml index 2fc59f1..c766fdd 100644 --- a/core/modules/contact/config/install/contact.form.personal.yml +++ b/core/modules/contact/config/install/contact.form.personal.yml @@ -1,7 +1,8 @@ +langcode: en +status: true +dependencies: { } id: personal label: 'Personal contact form' recipients: { } reply: '' weight: 0 -status: true -langcode: en diff --git a/core/modules/filter/config/install/filter.format.plain_text.yml b/core/modules/filter/config/install/filter.format.plain_text.yml index 5de8988..4abd655 100644 --- a/core/modules/filter/config/install/filter.format.plain_text.yml +++ b/core/modules/filter/config/install/filter.format.plain_text.yml @@ -2,13 +2,12 @@ # - is accessible to all users. # - is secure, using very basic formatting only. # - may be modified by installation profiles to have other properties. -format: plain_text -name: 'Plain text' +langcode: en status: true +dependencies: { } +name: 'Plain text' +format: plain_text weight: 10 -roles: - - anonymous - - authenticated filters: # Escape all HTML. filter_html_escape: diff --git a/core/modules/forum/config/install/core.base_field_override.node.forum.promote.yml b/core/modules/forum/config/install/core.base_field_override.node.forum.promote.yml index 11dbe49..be6e1a3 100644 --- a/core/modules/forum/config/install/core.base_field_override.node.forum.promote.yml +++ b/core/modules/forum/config/install/core.base_field_override.node.forum.promote.yml @@ -1,4 +1,3 @@ -# Changes the default value of the promote base field on the forum node type. langcode: en status: true dependencies: @@ -8,7 +7,7 @@ id: node.forum.promote field_name: promote entity_type: node bundle: forum -label: Promoted to front page +label: 'Promoted to front page' description: '' required: false translatable: true @@ -16,5 +15,7 @@ default_value: - value: 0 default_value_callback: '' -settings: { } +settings: + on_label: 'On' + off_label: 'Off' field_type: boolean diff --git a/core/modules/forum/config/install/core.base_field_override.node.forum.title.yml b/core/modules/forum/config/install/core.base_field_override.node.forum.title.yml index fa69248..71c5835 100644 --- a/core/modules/forum/config/install/core.base_field_override.node.forum.title.yml +++ b/core/modules/forum/config/install/core.base_field_override.node.forum.title.yml @@ -1,4 +1,3 @@ -# Changes the label of the title base field on the forum node type. langcode: en status: true dependencies: @@ -9,6 +8,7 @@ field_name: title entity_type: node bundle: forum label: Subject +description: '' required: true translatable: true default_value: { } diff --git a/core/modules/forum/config/install/core.entity_form_display.comment.comment_forum.default.yml b/core/modules/forum/config/install/core.entity_form_display.comment.comment_forum.default.yml index 85a0393..a09c30b 100644 --- a/core/modules/forum/config/install/core.entity_form_display.comment.comment_forum.default.yml +++ b/core/modules/forum/config/install/core.entity_form_display.comment.comment_forum.default.yml @@ -13,13 +13,6 @@ mode: default content: author: weight: -2 - subject: - type: string_textfield - weight: 10 - settings: - size: 60 - placeholder: '' - third_party_settings: { } comment_body: type: text_textarea weight: 11 @@ -27,5 +20,11 @@ content: rows: 5 placeholder: '' third_party_settings: { } + subject: + type: string_textfield + weight: 10 + settings: + size: 60 + placeholder: '' + third_party_settings: { } hidden: { } -third_party_settings: { } diff --git a/core/modules/forum/config/install/core.entity_form_display.node.forum.default.yml b/core/modules/forum/config/install/core.entity_form_display.node.forum.default.yml index 8731335..d4e7c4d 100644 --- a/core/modules/forum/config/install/core.entity_form_display.node.forum.default.yml +++ b/core/modules/forum/config/install/core.entity_form_display.node.forum.default.yml @@ -15,20 +15,18 @@ targetEntityType: node bundle: forum mode: default content: - title: - type: string_textfield - weight: -5 + body: + type: text_textarea_with_summary + weight: 27 settings: - size: 60 + rows: 9 + summary_rows: 3 placeholder: '' third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 5 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' + comment_forum: + type: comment_default + weight: 20 + settings: { } third_party_settings: { } created: type: datetime_timestamp @@ -47,23 +45,24 @@ content: display_label: true weight: 16 third_party_settings: { } - comment_forum: - type: comment_default - weight: 20 - settings: { } - third_party_settings: { } taxonomy_forums: type: options_select weight: 26 settings: { } third_party_settings: { } - body: - type: text_textarea_with_summary - weight: 27 + title: + type: string_textfield + weight: -5 settings: - rows: 9 - summary_rows: 3 + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 5 + settings: + match_operator: CONTAINS + size: 60 placeholder: '' third_party_settings: { } hidden: { } -third_party_settings: { } diff --git a/core/modules/forum/config/install/core.entity_form_display.taxonomy_term.forums.default.yml b/core/modules/forum/config/install/core.entity_form_display.taxonomy_term.forums.default.yml index dfca846..a2f890d 100644 --- a/core/modules/forum/config/install/core.entity_form_display.taxonomy_term.forums.default.yml +++ b/core/modules/forum/config/install/core.entity_form_display.taxonomy_term.forums.default.yml @@ -10,6 +10,11 @@ targetEntityType: taxonomy_term bundle: forums mode: default content: + description: + type: text_textfield + weight: 0 + settings: { } + third_party_settings: { } name: type: string_textfield weight: -5 @@ -17,10 +22,5 @@ content: size: 60 placeholder: '' third_party_settings: { } - description: - type: text_textfield - weight: 0 - settings: { } - third_party_settings: { } -hidden: { } -third_party_settings: { } +hidden: + forum_container: true diff --git a/core/modules/forum/config/install/core.entity_view_display.comment.comment_forum.default.yml b/core/modules/forum/config/install/core.entity_view_display.comment.comment_forum.default.yml index 624024f..f4f0112 100644 --- a/core/modules/forum/config/install/core.entity_view_display.comment.comment_forum.default.yml +++ b/core/modules/forum/config/install/core.entity_view_display.comment.comment_forum.default.yml @@ -20,4 +20,3 @@ content: links: weight: 100 hidden: { } -third_party_settings: { } diff --git a/core/modules/forum/config/install/core.entity_view_display.node.forum.default.yml b/core/modules/forum/config/install/core.entity_view_display.node.forum.default.yml index 8da8d3b..69fdb79 100644 --- a/core/modules/forum/config/install/core.entity_view_display.node.forum.default.yml +++ b/core/modules/forum/config/install/core.entity_view_display.node.forum.default.yml @@ -16,13 +16,6 @@ targetEntityType: node bundle: forum mode: default content: - taxonomy_forums: - type: entity_reference_label - weight: -1 - label: above - settings: - link: true - third_party_settings: { } body: label: hidden type: text_default @@ -38,6 +31,11 @@ content: third_party_settings: { } links: weight: 100 -hidden: - langcode: true -third_party_settings: { } + taxonomy_forums: + type: entity_reference_label + weight: -1 + label: above + settings: + link: true + third_party_settings: { } +hidden: { } diff --git a/core/modules/forum/config/install/core.entity_view_display.node.forum.teaser.yml b/core/modules/forum/config/install/core.entity_view_display.node.forum.teaser.yml index 2333ad8..6eb1a0c 100644 --- a/core/modules/forum/config/install/core.entity_view_display.node.forum.teaser.yml +++ b/core/modules/forum/config/install/core.entity_view_display.node.forum.teaser.yml @@ -16,13 +16,6 @@ targetEntityType: node bundle: forum mode: teaser content: - taxonomy_forums: - type: entity_reference_label - weight: 10 - label: above - settings: - link: true - third_party_settings: { } body: label: hidden type: text_summary_or_trimmed @@ -32,7 +25,12 @@ content: third_party_settings: { } links: weight: 101 + taxonomy_forums: + type: entity_reference_label + weight: 10 + label: above + settings: + link: true + third_party_settings: { } hidden: - langcode: true comment_forum: true -third_party_settings: { } diff --git a/core/modules/forum/config/install/core.entity_view_display.taxonomy_term.forums.default.yml b/core/modules/forum/config/install/core.entity_view_display.taxonomy_term.forums.default.yml index b3d695b..07b131a 100644 --- a/core/modules/forum/config/install/core.entity_view_display.taxonomy_term.forums.default.yml +++ b/core/modules/forum/config/install/core.entity_view_display.taxonomy_term.forums.default.yml @@ -16,5 +16,5 @@ content: settings: { } third_party_settings: { } label: above -hidden: { } -third_party_settings: { } +hidden: + forum_container: true diff --git a/core/modules/forum/config/install/field.field.comment.comment_forum.comment_body.yml b/core/modules/forum/config/install/field.field.comment.comment_forum.comment_body.yml index d0b6472..215199c 100644 --- a/core/modules/forum/config/install/field.field.comment.comment_forum.comment_body.yml +++ b/core/modules/forum/config/install/field.field.comment.comment_forum.comment_body.yml @@ -17,5 +17,4 @@ translatable: true default_value: { } default_value_callback: '' settings: { } -third_party_settings: { } field_type: text_long diff --git a/core/modules/forum/config/install/field.field.node.forum.body.yml b/core/modules/forum/config/install/field.field.node.forum.body.yml index 279f160..af6f7ad 100644 --- a/core/modules/forum/config/install/field.field.node.forum.body.yml +++ b/core/modules/forum/config/install/field.field.node.forum.body.yml @@ -18,5 +18,4 @@ default_value: { } default_value_callback: '' settings: display_summary: true -third_party_settings: { } field_type: text_with_summary diff --git a/core/modules/forum/config/install/field.field.node.forum.comment_forum.yml b/core/modules/forum/config/install/field.field.node.forum.comment_forum.yml index 6153e72..8812273 100644 --- a/core/modules/forum/config/install/field.field.node.forum.comment_forum.yml +++ b/core/modules/forum/config/install/field.field.node.forum.comment_forum.yml @@ -29,5 +29,4 @@ settings: form_location: true anonymous: 0 preview: 1 -third_party_settings: { } field_type: comment diff --git a/core/modules/forum/config/install/field.field.node.forum.taxonomy_forums.yml b/core/modules/forum/config/install/field.field.node.forum.taxonomy_forums.yml index b5e7332..1f7bc5c 100644 --- a/core/modules/forum/config/install/field.field.node.forum.taxonomy_forums.yml +++ b/core/modules/forum/config/install/field.field.node.forum.taxonomy_forums.yml @@ -17,12 +17,11 @@ translatable: true default_value: { } default_value_callback: '' settings: - handler: default + handler: 'default:taxonomy_term' handler_settings: target_bundles: forums: forums sort: field: _none auto_create: true -third_party_settings: { } field_type: entity_reference diff --git a/core/modules/forum/config/install/field.field.taxonomy_term.forums.forum_container.yml b/core/modules/forum/config/install/field.field.taxonomy_term.forums.forum_container.yml index 8565083..4cf3e83 100644 --- a/core/modules/forum/config/install/field.field.taxonomy_term.forums.forum_container.yml +++ b/core/modules/forum/config/install/field.field.taxonomy_term.forums.forum_container.yml @@ -17,7 +17,6 @@ default_value: value: 0 default_value_callback: '' settings: - on_label: Yes - off_label: No -third_party_settings: { } + on_label: 'Yes' + off_label: 'No' field_type: boolean diff --git a/core/modules/forum/config/install/field.storage.node.taxonomy_forums.yml b/core/modules/forum/config/install/field.storage.node.taxonomy_forums.yml index 0f1e8ae..7ff1c58 100644 --- a/core/modules/forum/config/install/field.storage.node.taxonomy_forums.yml +++ b/core/modules/forum/config/install/field.storage.node.taxonomy_forums.yml @@ -10,7 +10,7 @@ entity_type: node type: entity_reference settings: target_type: taxonomy_term -module: taxonomy +module: entity_reference locked: false cardinality: 1 translatable: true diff --git a/core/modules/forum/config/install/taxonomy.vocabulary.forums.yml b/core/modules/forum/config/install/taxonomy.vocabulary.forums.yml index cfbcca5..311f6fc 100644 --- a/core/modules/forum/config/install/taxonomy.vocabulary.forums.yml +++ b/core/modules/forum/config/install/taxonomy.vocabulary.forums.yml @@ -11,4 +11,3 @@ vid: forums description: 'Forum navigation vocabulary' hierarchy: 1 weight: -10 -third_party_settings: { } diff --git a/core/modules/image/config/install/image.style.large.yml b/core/modules/image/config/install/image.style.large.yml index 17e908b..c793584 100644 --- a/core/modules/image/config/install/image.style.large.yml +++ b/core/modules/image/config/install/image.style.large.yml @@ -1,12 +1,14 @@ +langcode: en +status: true +dependencies: { } name: large label: 'Large (480×480)' effects: ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d: + uuid: ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d id: image_scale + weight: 0 data: width: 480 height: 480 upscale: false - weight: 0 - uuid: ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d -langcode: en diff --git a/core/modules/image/config/install/image.style.medium.yml b/core/modules/image/config/install/image.style.medium.yml index 72ed327..775a511 100644 --- a/core/modules/image/config/install/image.style.medium.yml +++ b/core/modules/image/config/install/image.style.medium.yml @@ -1,12 +1,14 @@ +langcode: en +status: true +dependencies: { } name: medium label: 'Medium (220×220)' effects: bddf0d06-42f9-4c75-a700-a33cafa25ea0: + uuid: bddf0d06-42f9-4c75-a700-a33cafa25ea0 id: image_scale + weight: 0 data: width: 220 height: 220 upscale: false - weight: 0 - uuid: bddf0d06-42f9-4c75-a700-a33cafa25ea0 -langcode: en diff --git a/core/modules/image/config/install/image.style.thumbnail.yml b/core/modules/image/config/install/image.style.thumbnail.yml index 4869191..73dc9b8 100644 --- a/core/modules/image/config/install/image.style.thumbnail.yml +++ b/core/modules/image/config/install/image.style.thumbnail.yml @@ -1,12 +1,14 @@ +langcode: en +status: true +dependencies: { } name: thumbnail label: 'Thumbnail (100×100)' effects: 1cfec298-8620-4749-b100-ccb6c4500779: + uuid: 1cfec298-8620-4749-b100-ccb6c4500779 id: image_scale + weight: 0 data: width: 100 height: 100 upscale: false - weight: 0 - uuid: 1cfec298-8620-4749-b100-ccb6c4500779 -langcode: en diff --git a/core/modules/language/config/install/language.entity.en.yml b/core/modules/language/config/install/language.entity.en.yml index 34b6c29..7c3305f 100644 --- a/core/modules/language/config/install/language.entity.en.yml +++ b/core/modules/language/config/install/language.entity.en.yml @@ -1,7 +1,8 @@ +langcode: en +status: true +dependencies: { } id: en label: English -direction: 'ltr' +direction: ltr weight: 0 locked: false -status: true -langcode: en diff --git a/core/modules/language/config/install/language.entity.und.yml b/core/modules/language/config/install/language.entity.und.yml index 67caf48..86b51e5 100644 --- a/core/modules/language/config/install/language.entity.und.yml +++ b/core/modules/language/config/install/language.entity.und.yml @@ -1,7 +1,8 @@ +langcode: en +status: true +dependencies: { } id: und label: 'Not specified' -direction: 'ltr' -weight: 1 +direction: ltr +weight: 2 locked: true -status: true -langcode: en diff --git a/core/modules/language/config/install/language.entity.zxx.yml b/core/modules/language/config/install/language.entity.zxx.yml index 7f02cf7..8b0c862 100644 --- a/core/modules/language/config/install/language.entity.zxx.yml +++ b/core/modules/language/config/install/language.entity.zxx.yml @@ -1,7 +1,8 @@ +langcode: en +status: true +dependencies: { } id: zxx label: 'Not applicable' -direction: 'ltr' -weight: 2 +direction: ltr +weight: 3 locked: true -status: true -langcode: en diff --git a/core/modules/node/config/install/core.entity_view_mode.node.full.yml b/core/modules/node/config/install/core.entity_view_mode.node.full.yml index 3a8654a..f52a51d 100644 --- a/core/modules/node/config/install/core.entity_view_mode.node.full.yml +++ b/core/modules/node/config/install/core.entity_view_mode.node.full.yml @@ -1,8 +1,9 @@ -id: node.full -label: 'Full content' +langcode: en status: false -cache: true -targetEntityType: node dependencies: module: - node +id: node.full +label: 'Full content' +targetEntityType: node +cache: true diff --git a/core/modules/node/config/install/core.entity_view_mode.node.rss.yml b/core/modules/node/config/install/core.entity_view_mode.node.rss.yml index 6a79ca5..6418e47 100644 --- a/core/modules/node/config/install/core.entity_view_mode.node.rss.yml +++ b/core/modules/node/config/install/core.entity_view_mode.node.rss.yml @@ -1,8 +1,9 @@ -id: node.rss -label: RSS +langcode: en status: false -cache: true -targetEntityType: node dependencies: module: - node +id: node.rss +label: RSS +targetEntityType: node +cache: true diff --git a/core/modules/node/config/install/core.entity_view_mode.node.search_index.yml b/core/modules/node/config/install/core.entity_view_mode.node.search_index.yml index 54385d9..7d082be 100644 --- a/core/modules/node/config/install/core.entity_view_mode.node.search_index.yml +++ b/core/modules/node/config/install/core.entity_view_mode.node.search_index.yml @@ -1,8 +1,9 @@ -id: node.search_index -label: 'Search index' +langcode: en status: false -cache: true -targetEntityType: node dependencies: module: - node +id: node.search_index +label: 'Search index' +targetEntityType: node +cache: true diff --git a/core/modules/node/config/install/core.entity_view_mode.node.search_result.yml b/core/modules/node/config/install/core.entity_view_mode.node.search_result.yml index a680fa0..73252b1 100644 --- a/core/modules/node/config/install/core.entity_view_mode.node.search_result.yml +++ b/core/modules/node/config/install/core.entity_view_mode.node.search_result.yml @@ -1,8 +1,9 @@ -id: node.search_result -label: 'Search result highlighting input' +langcode: en status: false -cache: true -targetEntityType: node dependencies: module: - node +id: node.search_result +label: 'Search result highlighting input' +targetEntityType: node +cache: true diff --git a/core/modules/node/config/install/core.entity_view_mode.node.teaser.yml b/core/modules/node/config/install/core.entity_view_mode.node.teaser.yml index be00b8d..dcde72c 100644 --- a/core/modules/node/config/install/core.entity_view_mode.node.teaser.yml +++ b/core/modules/node/config/install/core.entity_view_mode.node.teaser.yml @@ -1,8 +1,9 @@ -id: node.teaser -label: Teaser +langcode: en status: true -cache: true -targetEntityType: node dependencies: module: - node +id: node.teaser +label: Teaser +targetEntityType: node +cache: true diff --git a/core/modules/node/config/install/system.action.node_delete_action.yml b/core/modules/node/config/install/system.action.node_delete_action.yml index 282d5cc..97662dc 100644 --- a/core/modules/node/config/install/system.action.node_delete_action.yml +++ b/core/modules/node/config/install/system.action.node_delete_action.yml @@ -1,9 +1,10 @@ -id: node_delete_action -label: 'Delete content' -status: true langcode: en -type: node -plugin: node_delete_action +status: true dependencies: module: - node +id: node_delete_action +label: 'Delete content' +type: node +plugin: node_delete_action +configuration: { } diff --git a/core/modules/node/config/install/system.action.node_make_sticky_action.yml b/core/modules/node/config/install/system.action.node_make_sticky_action.yml index 04276c0..94a81bf 100644 --- a/core/modules/node/config/install/system.action.node_make_sticky_action.yml +++ b/core/modules/node/config/install/system.action.node_make_sticky_action.yml @@ -1,9 +1,10 @@ -id: node_make_sticky_action -label: 'Make content sticky' -status: true langcode: en -type: node -plugin: node_make_sticky_action +status: true dependencies: module: - node +id: node_make_sticky_action +label: 'Make content sticky' +type: node +plugin: node_make_sticky_action +configuration: { } diff --git a/core/modules/node/config/install/system.action.node_make_unsticky_action.yml b/core/modules/node/config/install/system.action.node_make_unsticky_action.yml index 03a99c5..6572963 100644 --- a/core/modules/node/config/install/system.action.node_make_unsticky_action.yml +++ b/core/modules/node/config/install/system.action.node_make_unsticky_action.yml @@ -1,9 +1,10 @@ -id: node_make_unsticky_action -label: 'Make content unsticky' -status: true langcode: en -type: node -plugin: node_make_unsticky_action +status: true dependencies: module: - node +id: node_make_unsticky_action +label: 'Make content unsticky' +type: node +plugin: node_make_unsticky_action +configuration: { } diff --git a/core/modules/node/config/install/system.action.node_promote_action.yml b/core/modules/node/config/install/system.action.node_promote_action.yml index 4b3a9ae..7c45a42 100644 --- a/core/modules/node/config/install/system.action.node_promote_action.yml +++ b/core/modules/node/config/install/system.action.node_promote_action.yml @@ -1,9 +1,10 @@ -id: node_promote_action -label: 'Promote content to front page' -status: true langcode: en -type: node -plugin: node_promote_action +status: true dependencies: module: - node +id: node_promote_action +label: 'Promote content to front page' +type: node +plugin: node_promote_action +configuration: { } diff --git a/core/modules/node/config/install/system.action.node_publish_action.yml b/core/modules/node/config/install/system.action.node_publish_action.yml index af0b82c..20ed19b 100644 --- a/core/modules/node/config/install/system.action.node_publish_action.yml +++ b/core/modules/node/config/install/system.action.node_publish_action.yml @@ -1,9 +1,10 @@ -id: node_publish_action -label: 'Publish content' -status: true langcode: en -type: node -plugin: node_publish_action +status: true dependencies: module: - node +id: node_publish_action +label: 'Publish content' +type: node +plugin: node_publish_action +configuration: { } diff --git a/core/modules/node/config/install/system.action.node_save_action.yml b/core/modules/node/config/install/system.action.node_save_action.yml index 4dc2073..887ff43 100644 --- a/core/modules/node/config/install/system.action.node_save_action.yml +++ b/core/modules/node/config/install/system.action.node_save_action.yml @@ -1,9 +1,10 @@ -id: node_save_action -label: 'Save content' -status: true langcode: en -type: node -plugin: node_save_action +status: true dependencies: module: - node +id: node_save_action +label: 'Save content' +type: node +plugin: node_save_action +configuration: { } diff --git a/core/modules/node/config/install/system.action.node_unpromote_action.yml b/core/modules/node/config/install/system.action.node_unpromote_action.yml index 21c0ae8..cb290dd 100644 --- a/core/modules/node/config/install/system.action.node_unpromote_action.yml +++ b/core/modules/node/config/install/system.action.node_unpromote_action.yml @@ -1,9 +1,10 @@ -id: node_unpromote_action -label: 'Remove content from front page' -status: true langcode: en -type: node -plugin: node_unpromote_action +status: true dependencies: module: - node +id: node_unpromote_action +label: 'Remove content from front page' +type: node +plugin: node_unpromote_action +configuration: { } diff --git a/core/modules/node/config/install/system.action.node_unpublish_action.yml b/core/modules/node/config/install/system.action.node_unpublish_action.yml index 2e01fae..1e778c0 100644 --- a/core/modules/node/config/install/system.action.node_unpublish_action.yml +++ b/core/modules/node/config/install/system.action.node_unpublish_action.yml @@ -1,9 +1,10 @@ -id: node_unpublish_action -label: 'Unpublish content' -status: true langcode: en -type: node -plugin: node_unpublish_action +status: true dependencies: module: - node +id: node_unpublish_action +label: 'Unpublish content' +type: node +plugin: node_unpublish_action +configuration: { } diff --git a/core/modules/shortcut/config/install/shortcut.set.default.yml b/core/modules/shortcut/config/install/shortcut.set.default.yml index 3e50e3b..263a7f1 100644 --- a/core/modules/shortcut/config/install/shortcut.set.default.yml +++ b/core/modules/shortcut/config/install/shortcut.set.default.yml @@ -1,2 +1,5 @@ +langcode: en +status: true +dependencies: { } id: default label: Default diff --git a/core/modules/system/config/install/core.date_format.fallback.yml b/core/modules/system/config/install/core.date_format.fallback.yml index 6e5c9dc..c3ae46d 100644 --- a/core/modules/system/config/install/core.date_format.fallback.yml +++ b/core/modules/system/config/install/core.date_format.fallback.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: fallback label: 'Fallback date format' -status: true -langcode: en locked: true pattern: 'D, m/d/Y - H:i' diff --git a/core/modules/system/config/install/core.date_format.html_date.yml b/core/modules/system/config/install/core.date_format.html_date.yml index c489b83..ad3e327 100644 --- a/core/modules/system/config/install/core.date_format.html_date.yml +++ b/core/modules/system/config/install/core.date_format.html_date.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: html_date label: 'HTML Date' -status: true -langcode: en locked: true pattern: Y-m-d diff --git a/core/modules/system/config/install/core.date_format.html_datetime.yml b/core/modules/system/config/install/core.date_format.html_datetime.yml index 32debae..8532578 100644 --- a/core/modules/system/config/install/core.date_format.html_datetime.yml +++ b/core/modules/system/config/install/core.date_format.html_datetime.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: html_datetime label: 'HTML Datetime' -status: true -langcode: en locked: true pattern: 'Y-m-d\TH:i:sO' diff --git a/core/modules/system/config/install/core.date_format.html_month.yml b/core/modules/system/config/install/core.date_format.html_month.yml index a370320..94cd827 100644 --- a/core/modules/system/config/install/core.date_format.html_month.yml +++ b/core/modules/system/config/install/core.date_format.html_month.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: html_month label: 'HTML Month' -status: true -langcode: en locked: true pattern: Y-m diff --git a/core/modules/system/config/install/core.date_format.html_time.yml b/core/modules/system/config/install/core.date_format.html_time.yml index 0c45877..65bc753 100644 --- a/core/modules/system/config/install/core.date_format.html_time.yml +++ b/core/modules/system/config/install/core.date_format.html_time.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: html_time label: 'HTML Time' -status: true -langcode: en locked: true pattern: 'H:i:s' diff --git a/core/modules/system/config/install/core.date_format.html_week.yml b/core/modules/system/config/install/core.date_format.html_week.yml index bb5dc6e..bc93009 100644 --- a/core/modules/system/config/install/core.date_format.html_week.yml +++ b/core/modules/system/config/install/core.date_format.html_week.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: html_week label: 'HTML Week' -status: true -langcode: en locked: true pattern: Y-\WW diff --git a/core/modules/system/config/install/core.date_format.html_year.yml b/core/modules/system/config/install/core.date_format.html_year.yml index 1a3aadc..90afaf5 100644 --- a/core/modules/system/config/install/core.date_format.html_year.yml +++ b/core/modules/system/config/install/core.date_format.html_year.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: html_year label: 'HTML Year' -status: true -langcode: en locked: true -pattern: Y +pattern: 'Y' diff --git a/core/modules/system/config/install/core.date_format.html_yearless_date.yml b/core/modules/system/config/install/core.date_format.html_yearless_date.yml index a17ef34..f1fec73 100644 --- a/core/modules/system/config/install/core.date_format.html_yearless_date.yml +++ b/core/modules/system/config/install/core.date_format.html_yearless_date.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: html_yearless_date label: 'HTML Yearless date' -status: true -langcode: en locked: true pattern: m-d diff --git a/core/modules/system/config/install/core.date_format.long.yml b/core/modules/system/config/install/core.date_format.long.yml index b8a09e3..9e385f1 100644 --- a/core/modules/system/config/install/core.date_format.long.yml +++ b/core/modules/system/config/install/core.date_format.long.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: long label: 'Default long date' -status: true -langcode: en locked: false pattern: 'l, F j, Y - H:i' diff --git a/core/modules/system/config/install/core.date_format.medium.yml b/core/modules/system/config/install/core.date_format.medium.yml index 59376fd..be35616 100644 --- a/core/modules/system/config/install/core.date_format.medium.yml +++ b/core/modules/system/config/install/core.date_format.medium.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: medium label: 'Default medium date' -status: true -langcode: en locked: false pattern: 'D, m/d/Y - H:i' diff --git a/core/modules/system/config/install/core.date_format.short.yml b/core/modules/system/config/install/core.date_format.short.yml index 654fed4..f7fbe19 100644 --- a/core/modules/system/config/install/core.date_format.short.yml +++ b/core/modules/system/config/install/core.date_format.short.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: short label: 'Default short date' -status: true -langcode: en locked: false pattern: 'm/d/Y - H:i' diff --git a/core/modules/system/config/install/system.menu.account.yml b/core/modules/system/config/install/system.menu.account.yml index 7d4cdd0..219520f 100644 --- a/core/modules/system/config/install/system.menu.account.yml +++ b/core/modules/system/config/install/system.menu.account.yml @@ -1,5 +1,7 @@ +langcode: en +status: true +dependencies: { } id: account label: 'User account menu' description: 'Links related to the user account.' -langcode: en locked: true diff --git a/core/modules/system/config/install/system.menu.admin.yml b/core/modules/system/config/install/system.menu.admin.yml index 4751eb1..aba9d40 100644 --- a/core/modules/system/config/install/system.menu.admin.yml +++ b/core/modules/system/config/install/system.menu.admin.yml @@ -1,5 +1,7 @@ +langcode: en +status: true +dependencies: { } id: admin label: Administration description: 'Contains links to administrative tasks.' -langcode: en locked: true diff --git a/core/modules/system/config/install/system.menu.footer.yml b/core/modules/system/config/install/system.menu.footer.yml index 540c118..7a76047 100644 --- a/core/modules/system/config/install/system.menu.footer.yml +++ b/core/modules/system/config/install/system.menu.footer.yml @@ -1,5 +1,7 @@ +langcode: en +status: true +dependencies: { } id: footer label: Footer description: 'Use this for linking to site information.' -langcode: en locked: true diff --git a/core/modules/system/config/install/system.menu.main.yml b/core/modules/system/config/install/system.menu.main.yml index fe9ced5..96f24c4 100644 --- a/core/modules/system/config/install/system.menu.main.yml +++ b/core/modules/system/config/install/system.menu.main.yml @@ -1,5 +1,7 @@ +langcode: en +status: true +dependencies: { } id: main label: 'Main navigation' description: 'Use this for linking to the main site sections.' -langcode: en locked: true diff --git a/core/modules/system/config/install/system.menu.tools.yml b/core/modules/system/config/install/system.menu.tools.yml index 4a3084f..298f2c9 100644 --- a/core/modules/system/config/install/system.menu.tools.yml +++ b/core/modules/system/config/install/system.menu.tools.yml @@ -1,5 +1,7 @@ +langcode: en +status: true +dependencies: { } id: tools label: Tools description: 'Contains links for site visitors. Some modules add their links here.' -langcode: en locked: true diff --git a/core/modules/system/src/Tests/Installer/StandardInstallerTest.php b/core/modules/system/src/Tests/Installer/StandardInstallerTest.php index a19ab6c..31d5780 100644 --- a/core/modules/system/src/Tests/Installer/StandardInstallerTest.php +++ b/core/modules/system/src/Tests/Installer/StandardInstallerTest.php @@ -7,6 +7,10 @@ namespace Drupal\system\Tests\Installer; +use Drupal\Core\Config\FileStorage; +use Drupal\Core\Config\InstallStorage; +use Drupal\Core\Config\StorageInterface; +use Drupal\KernelTests\AssertConfigTrait; use Drupal\simpletest\InstallerTestBase; /** @@ -16,6 +20,8 @@ */ class StandardInstallerTest extends InstallerTestBase { + use AssertConfigTrait; + /** * {@inheritdoc} */ @@ -42,5 +48,43 @@ protected function setUpSite() { parent::setUpSite(); } + /** + * Ensures that the exported standard configuration is up to date. + */ + public function testStandardConfig() { + /** @var \Drupal\Core\Config\StorageInterface $active_config_storage */ + $active_config_storage = $this->container->get('config.storage'); + /** @var \Drupal\Core\Config\ConfigManagerInterface $config_manager */ + $config_manager = $this->container->get('config.manager'); + + $profile = 'standard'; + + $default_install_path = 'core/profiles/' . $profile . '/' . InstallStorage::CONFIG_INSTALL_DIRECTORY; + $profile_config_storage = new FileStorage($default_install_path, StorageInterface::DEFAULT_COLLECTION); + + $skipped_config = []; + // \Drupal\simpletest\WebTestBase::installParameters() uses + // simpletest@example.com as mail address. + $skipped_config['contact.form.feedback'][] = ' - simpletest@example.com'; + // \Drupal\filter\Entity\FilterFormat::toArray() drops the roles of filter + // formats. + $skipped_config['filter.format.basic_html'][] = 'roles:'; + $skipped_config['filter.format.basic_html'][] = ' - authenticated'; + $skipped_config['filter.format.full_html'][] = 'roles:'; + $skipped_config['filter.format.full_html'][] = ' - administrator'; + $skipped_config['filter.format.restricted_html'][] = 'roles:'; + $skipped_config['filter.format.restricted_html'][] = ' - anonymous'; + + foreach ($profile_config_storage->listAll() as $config_name) { + $result = $config_manager->diff($profile_config_storage, $active_config_storage, $config_name); + try { + $this->assertConfigDiff($result, $config_name, $skipped_config); + } + catch (\Exception $e) { + $this->fail($e->getMessage()); + } + } + } + } diff --git a/core/modules/taxonomy/config/install/core.entity_view_mode.taxonomy_term.full.yml b/core/modules/taxonomy/config/install/core.entity_view_mode.taxonomy_term.full.yml index bb8c47e..3a1f313 100644 --- a/core/modules/taxonomy/config/install/core.entity_view_mode.taxonomy_term.full.yml +++ b/core/modules/taxonomy/config/install/core.entity_view_mode.taxonomy_term.full.yml @@ -1,8 +1,9 @@ -id: taxonomy_term.full -label: 'Taxonomy term page' +langcode: en status: true -cache: true -targetEntityType: taxonomy_term dependencies: module: - taxonomy +id: taxonomy_term.full +label: 'Taxonomy term page' +targetEntityType: taxonomy_term +cache: true diff --git a/core/modules/user/config/install/core.entity_form_mode.user.register.yml b/core/modules/user/config/install/core.entity_form_mode.user.register.yml index 06919cd..32c026b 100644 --- a/core/modules/user/config/install/core.entity_form_mode.user.register.yml +++ b/core/modules/user/config/install/core.entity_form_mode.user.register.yml @@ -1,7 +1,9 @@ -id: user.register -label: Register +langcode: en status: true -targetEntityType: user dependencies: module: - user +id: user.register +label: Register +targetEntityType: user +cache: true diff --git a/core/modules/user/config/install/core.entity_view_mode.user.compact.yml b/core/modules/user/config/install/core.entity_view_mode.user.compact.yml index 6e0b13d..0c41655 100644 --- a/core/modules/user/config/install/core.entity_view_mode.user.compact.yml +++ b/core/modules/user/config/install/core.entity_view_mode.user.compact.yml @@ -1,8 +1,9 @@ -id: user.compact -label: Compact +langcode: en status: true -cache: true -targetEntityType: user dependencies: module: - user +id: user.compact +label: Compact +targetEntityType: user +cache: true diff --git a/core/modules/user/config/install/core.entity_view_mode.user.full.yml b/core/modules/user/config/install/core.entity_view_mode.user.full.yml index 2f0f250..5574ab9 100644 --- a/core/modules/user/config/install/core.entity_view_mode.user.full.yml +++ b/core/modules/user/config/install/core.entity_view_mode.user.full.yml @@ -1,8 +1,9 @@ -id: user.full -label: 'User account' +langcode: en status: false -cache: true -targetEntityType: user dependencies: module: - user +id: user.full +label: 'User account' +targetEntityType: user +cache: true diff --git a/core/modules/user/config/install/system.action.user_block_user_action.yml b/core/modules/user/config/install/system.action.user_block_user_action.yml index d7e15c6..d9753bc 100644 --- a/core/modules/user/config/install/system.action.user_block_user_action.yml +++ b/core/modules/user/config/install/system.action.user_block_user_action.yml @@ -1,9 +1,10 @@ -id: user_block_user_action -label: 'Block the selected user(s)' -status: true langcode: en -type: user -plugin: user_block_user_action +status: true dependencies: module: - user +id: user_block_user_action +label: 'Block the selected user(s)' +type: user +plugin: user_block_user_action +configuration: { } diff --git a/core/modules/user/config/install/system.action.user_cancel_user_action.yml b/core/modules/user/config/install/system.action.user_cancel_user_action.yml index bcc03ed..cd90ff2 100644 --- a/core/modules/user/config/install/system.action.user_cancel_user_action.yml +++ b/core/modules/user/config/install/system.action.user_cancel_user_action.yml @@ -1,9 +1,10 @@ -id: user_cancel_user_action -label: 'Cancel the selected user account(s)' -status: true langcode: en -type: user -plugin: user_cancel_user_action +status: true dependencies: module: - user +id: user_cancel_user_action +label: 'Cancel the selected user account(s)' +type: user +plugin: user_cancel_user_action +configuration: { } diff --git a/core/modules/user/config/install/system.action.user_unblock_user_action.yml b/core/modules/user/config/install/system.action.user_unblock_user_action.yml index 0d313ea..406edb2 100644 --- a/core/modules/user/config/install/system.action.user_unblock_user_action.yml +++ b/core/modules/user/config/install/system.action.user_unblock_user_action.yml @@ -1,9 +1,10 @@ -id: user_unblock_user_action -label: 'Unblock the selected user(s)' -status: true langcode: en -type: user -plugin: user_unblock_user_action +status: true dependencies: module: - user +id: user_unblock_user_action +label: 'Unblock the selected user(s)' +type: user +plugin: user_unblock_user_action +configuration: { } diff --git a/core/modules/user/config/install/user.role.anonymous.yml b/core/modules/user/config/install/user.role.anonymous.yml index 21d727b..c89e023 100644 --- a/core/modules/user/config/install/user.role.anonymous.yml +++ b/core/modules/user/config/install/user.role.anonymous.yml @@ -1,7 +1,8 @@ +langcode: en +status: true +dependencies: { } id: anonymous label: 'Anonymous user' weight: 0 -langcode: en -status: true is_admin: false -dependencies: { } +permissions: { } diff --git a/core/modules/user/config/install/user.role.authenticated.yml b/core/modules/user/config/install/user.role.authenticated.yml index 68b7e02..5da2abd 100644 --- a/core/modules/user/config/install/user.role.authenticated.yml +++ b/core/modules/user/config/install/user.role.authenticated.yml @@ -1,7 +1,8 @@ +langcode: en +status: true +dependencies: { } id: authenticated label: 'Authenticated user' weight: 1 -langcode: en -status: true is_admin: false -dependencies: { } +permissions: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_account_menu.yml b/core/profiles/standard/config/install/block.block.bartik_account_menu.yml index ef0f44c..090ecaa 100644 --- a/core/profiles/standard/config/install/block.block.bartik_account_menu.yml +++ b/core/profiles/standard/config/install/block.block.bartik_account_menu.yml @@ -1,22 +1,25 @@ +langcode: en +status: true +dependencies: + config: + - system.menu.account + module: + - system + theme: + - bartik id: bartik_account_menu theme: bartik -weight: 0 -status: true -langcode: en region: secondary_menu +weight: 0 +provider: null plugin: 'system_menu_block:account' settings: id: 'system_menu_block:account' label: 'User account menu' provider: system label_display: '0' + cache: + max_age: -1 level: 1 depth: 1 -dependencies: - config: - - system.menu.account - module: - - system - theme: - - bartik -visibility: { } +visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_branding.yml b/core/profiles/standard/config/install/block.block.bartik_branding.yml index 3bed730..87fb1ec 100644 --- a/core/profiles/standard/config/install/block.block.bartik_branding.yml +++ b/core/profiles/standard/config/install/block.block.bartik_branding.yml @@ -1,18 +1,24 @@ +langcode: en +status: true +dependencies: + module: + - system + theme: + - bartik id: bartik_branding theme: bartik -weight: 0 -status: true -langcode: en region: header +weight: 0 +provider: null plugin: system_branding_block settings: id: system_branding_block label: 'Site Branding' provider: system label_display: '0' -dependencies: - module: - - system - theme: - - bartik + cache: + max_age: -1 + use_site_logo: true + use_site_name: true + use_site_slogan: true visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_breadcrumbs.yml b/core/profiles/standard/config/install/block.block.bartik_breadcrumbs.yml index 5589c10..c1fbc89 100644 --- a/core/profiles/standard/config/install/block.block.bartik_breadcrumbs.yml +++ b/core/profiles/standard/config/install/block.block.bartik_breadcrumbs.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - system + theme: + - bartik id: bartik_breadcrumbs theme: bartik -weight: 0 -status: true -langcode: en region: breadcrumb +weight: 0 +provider: null plugin: system_breadcrumb_block settings: id: system_breadcrumb_block label: Breadcrumbs provider: system label_display: '0' -dependencies: - module: - - system - theme: - - bartik + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_content.yml b/core/profiles/standard/config/install/block.block.bartik_content.yml index 87d320f..5bc7943 100644 --- a/core/profiles/standard/config/install/block.block.bartik_content.yml +++ b/core/profiles/standard/config/install/block.block.bartik_content.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - system + theme: + - bartik id: bartik_content theme: bartik -weight: 0 -status: true -langcode: en region: content +weight: 0 +provider: null plugin: system_main_block settings: id: system_main_block label: 'Main page content' provider: system label_display: '0' -dependencies: - module: - - system - theme: - - bartik + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_footer.yml b/core/profiles/standard/config/install/block.block.bartik_footer.yml index f3a4dcf..c6f783e 100644 --- a/core/profiles/standard/config/install/block.block.bartik_footer.yml +++ b/core/profiles/standard/config/install/block.block.bartik_footer.yml @@ -1,22 +1,25 @@ +langcode: en +status: true +dependencies: + config: + - system.menu.footer + module: + - system + theme: + - bartik id: bartik_footer theme: bartik -weight: 0 -status: true -langcode: en region: footer_fifth +weight: 0 +provider: null plugin: 'system_menu_block:footer' settings: id: 'system_menu_block:footer' label: 'Footer menu' provider: system label_display: '0' + cache: + max_age: -1 level: 1 depth: 0 -dependencies: - config: - - system.menu.footer - module: - - system - theme: - - bartik visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_help.yml b/core/profiles/standard/config/install/block.block.bartik_help.yml index e93a546..a37f60e 100644 --- a/core/profiles/standard/config/install/block.block.bartik_help.yml +++ b/core/profiles/standard/config/install/block.block.bartik_help.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - help + theme: + - bartik id: bartik_help theme: bartik -weight: -30 -status: true -langcode: en region: content +weight: -30 +provider: null plugin: help_block settings: id: help_block - label: 'Help' + label: Help provider: help label_display: '0' -dependencies: - module: - - help - theme: - - bartik + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_local_actions.yml b/core/profiles/standard/config/install/block.block.bartik_local_actions.yml index c88b8753..834a1f9 100644 --- a/core/profiles/standard/config/install/block.block.bartik_local_actions.yml +++ b/core/profiles/standard/config/install/block.block.bartik_local_actions.yml @@ -1,15 +1,19 @@ +langcode: en +status: true +dependencies: + theme: + - bartik id: bartik_local_actions theme: bartik -weight: -20 -status: true -langcode: en region: content +weight: -20 +provider: null plugin: local_actions_block settings: id: local_actions_block - label: Primary admin actions + label: 'Primary admin actions' + provider: core label_display: '0' -dependencies: - theme: - - bartik + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_local_tasks.yml b/core/profiles/standard/config/install/block.block.bartik_local_tasks.yml index 1cf88fe..3d5daf1 100644 --- a/core/profiles/standard/config/install/block.block.bartik_local_tasks.yml +++ b/core/profiles/standard/config/install/block.block.bartik_local_tasks.yml @@ -1,15 +1,21 @@ +langcode: en +status: true +dependencies: + theme: + - bartik id: bartik_local_tasks theme: bartik -weight: -40 -status: true -langcode: en region: content +weight: -40 +provider: null plugin: local_tasks_block settings: id: local_tasks_block label: Tabs + provider: core label_display: '0' -dependencies: - theme: - - bartik + cache: + max_age: -1 + primary: true + secondary: true visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_login.yml b/core/profiles/standard/config/install/block.block.bartik_login.yml index 3a5f543..ad56058 100644 --- a/core/profiles/standard/config/install/block.block.bartik_login.yml +++ b/core/profiles/standard/config/install/block.block.bartik_login.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - user + theme: + - bartik id: bartik_login theme: bartik -weight: 0 -status: true -langcode: en region: sidebar_first +weight: 0 +provider: null plugin: user_login_block settings: id: user_login_block label: 'User login' provider: user label_display: visible -dependencies: - module: - - user - theme: - - bartik + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_main_menu.yml b/core/profiles/standard/config/install/block.block.bartik_main_menu.yml index 32a3d1d..b04cdbc 100644 --- a/core/profiles/standard/config/install/block.block.bartik_main_menu.yml +++ b/core/profiles/standard/config/install/block.block.bartik_main_menu.yml @@ -1,22 +1,25 @@ +langcode: en +status: true +dependencies: + config: + - system.menu.main + module: + - system + theme: + - bartik id: bartik_main_menu theme: bartik -weight: 0 -status: true -langcode: en region: primary_menu +weight: 0 +provider: null plugin: 'system_menu_block:main' settings: id: 'system_menu_block:main' label: 'Main navigation' provider: system label_display: '0' + cache: + max_age: -1 level: 1 depth: 1 -dependencies: - config: - - system.menu.main - module: - - system - theme: - - bartik -visibility: {} +visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_messages.yml b/core/profiles/standard/config/install/block.block.bartik_messages.yml index 0bb9590..01716ee 100644 --- a/core/profiles/standard/config/install/block.block.bartik_messages.yml +++ b/core/profiles/standard/config/install/block.block.bartik_messages.yml @@ -1,17 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - system + theme: + - bartik id: bartik_messages theme: bartik -weight: 0 -status: true -langcode: en region: highlighted +weight: 0 +provider: null plugin: system_messages_block settings: id: system_messages_block label: 'Status messages' provider: system label_display: '0' -dependencies: - module: - - system - theme: - - bartik + cache: + max_age: -1 +visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_powered.yml b/core/profiles/standard/config/install/block.block.bartik_powered.yml index f7e4c90..ff54516 100644 --- a/core/profiles/standard/config/install/block.block.bartik_powered.yml +++ b/core/profiles/standard/config/install/block.block.bartik_powered.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - system + theme: + - bartik id: bartik_powered theme: bartik -weight: 10 -status: true -langcode: en region: footer_fifth +weight: 10 +provider: null plugin: system_powered_by_block settings: id: system_powered_by_block label: 'Powered by Drupal' provider: system label_display: '0' -dependencies: - module: - - system - theme: - - bartik + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_search.yml b/core/profiles/standard/config/install/block.block.bartik_search.yml index af99dea..18423cc 100644 --- a/core/profiles/standard/config/install/block.block.bartik_search.yml +++ b/core/profiles/standard/config/install/block.block.bartik_search.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - search + theme: + - bartik id: bartik_search theme: bartik -weight: -1 -status: true -langcode: en region: sidebar_first +weight: -1 +provider: null plugin: search_form_block settings: id: search_form_block label: Search provider: search label_display: visible -dependencies: - module: - - search - theme: - - bartik + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.bartik_tools.yml b/core/profiles/standard/config/install/block.block.bartik_tools.yml index af3672d..cd046d5 100644 --- a/core/profiles/standard/config/install/block.block.bartik_tools.yml +++ b/core/profiles/standard/config/install/block.block.bartik_tools.yml @@ -1,22 +1,25 @@ +langcode: en +status: true +dependencies: + config: + - system.menu.tools + module: + - system + theme: + - bartik id: bartik_tools theme: bartik -weight: 0 -status: true -langcode: en region: sidebar_first +weight: 0 +provider: null plugin: 'system_menu_block:tools' settings: id: 'system_menu_block:tools' label: Tools provider: system label_display: visible + cache: + max_age: -1 level: 1 depth: 0 -dependencies: - config: - - system.menu.tools - module: - - system - theme: - - bartik visibility: { } diff --git a/core/profiles/standard/config/install/block.block.seven_breadcrumbs.yml b/core/profiles/standard/config/install/block.block.seven_breadcrumbs.yml index fc95b02..9044ad3 100644 --- a/core/profiles/standard/config/install/block.block.seven_breadcrumbs.yml +++ b/core/profiles/standard/config/install/block.block.seven_breadcrumbs.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - system + theme: + - seven id: seven_breadcrumbs theme: seven -weight: 0 -status: true -langcode: en region: breadcrumb +weight: 0 +provider: null plugin: system_breadcrumb_block settings: id: system_breadcrumb_block label: Breadcrumbs provider: system label_display: '0' -dependencies: - module: - - system - theme: - - seven + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.seven_content.yml b/core/profiles/standard/config/install/block.block.seven_content.yml index dd2bfbe..b99aa1b 100644 --- a/core/profiles/standard/config/install/block.block.seven_content.yml +++ b/core/profiles/standard/config/install/block.block.seven_content.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - system + theme: + - seven id: seven_content theme: seven -weight: 0 -status: true -langcode: en region: content +weight: 0 +provider: null plugin: system_main_block settings: id: system_main_block label: 'Main page content' provider: system label_display: '0' -dependencies: - module: - - system - theme: - - seven + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.seven_help.yml b/core/profiles/standard/config/install/block.block.seven_help.yml index 5bb3529..30680f0 100644 --- a/core/profiles/standard/config/install/block.block.seven_help.yml +++ b/core/profiles/standard/config/install/block.block.seven_help.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - help + theme: + - seven id: seven_help theme: seven -weight: 0 -status: true -langcode: en region: help +weight: 0 +provider: null plugin: help_block settings: id: help_block - label: 'Help' + label: Help provider: help label_display: '0' -dependencies: - module: - - help - theme: - - seven + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.seven_local_actions.yml b/core/profiles/standard/config/install/block.block.seven_local_actions.yml index 999807f..31f23c4 100644 --- a/core/profiles/standard/config/install/block.block.seven_local_actions.yml +++ b/core/profiles/standard/config/install/block.block.seven_local_actions.yml @@ -1,15 +1,19 @@ +langcode: en +status: true +dependencies: + theme: + - seven id: seven_local_actions theme: seven -weight: -10 -status: true -langcode: en region: content +weight: -10 +provider: null plugin: local_actions_block settings: id: local_actions_block - label: Primary admin actions + label: 'Primary admin actions' + provider: core label_display: '0' -dependencies: - theme: - - seven + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.seven_login.yml b/core/profiles/standard/config/install/block.block.seven_login.yml index 0a488a7..4423aed 100644 --- a/core/profiles/standard/config/install/block.block.seven_login.yml +++ b/core/profiles/standard/config/install/block.block.seven_login.yml @@ -1,18 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - user + theme: + - seven id: seven_login theme: seven -weight: 10 -status: true -langcode: en region: content +weight: 10 +provider: null plugin: user_login_block settings: id: user_login_block label: 'User login' provider: user label_display: visible -dependencies: - module: - - user - theme: - - seven + cache: + max_age: -1 visibility: { } diff --git a/core/profiles/standard/config/install/block.block.seven_messages.yml b/core/profiles/standard/config/install/block.block.seven_messages.yml index 35c3531..dca7680 100644 --- a/core/profiles/standard/config/install/block.block.seven_messages.yml +++ b/core/profiles/standard/config/install/block.block.seven_messages.yml @@ -1,17 +1,21 @@ +langcode: en +status: true +dependencies: + module: + - system + theme: + - seven id: seven_messages theme: seven -weight: 0 -status: true -langcode: en region: highlighted +weight: 0 +provider: null plugin: system_messages_block settings: id: system_messages_block label: 'Status messages' provider: system label_display: '0' -dependencies: - module: - - system - theme: - - seven + cache: + max_age: -1 +visibility: { } diff --git a/core/profiles/standard/config/install/block.block.seven_primary_local_tasks.yml b/core/profiles/standard/config/install/block.block.seven_primary_local_tasks.yml index 66e8d7b..b08c5c3 100644 --- a/core/profiles/standard/config/install/block.block.seven_primary_local_tasks.yml +++ b/core/profiles/standard/config/install/block.block.seven_primary_local_tasks.yml @@ -1,17 +1,21 @@ +langcode: en +status: true +dependencies: + theme: + - seven id: seven_primary_local_tasks theme: seven -weight: 0 -status: true -langcode: en region: header +weight: 0 +provider: null plugin: local_tasks_block settings: id: local_tasks_block - label: Primary tabs + label: 'Primary tabs' + provider: core label_display: '0' + cache: + max_age: -1 primary: true secondary: false -dependencies: - theme: - - seven visibility: { } diff --git a/core/profiles/standard/config/install/block.block.seven_secondary_local_tasks.yml b/core/profiles/standard/config/install/block.block.seven_secondary_local_tasks.yml index 7824d64..7ff0003 100644 --- a/core/profiles/standard/config/install/block.block.seven_secondary_local_tasks.yml +++ b/core/profiles/standard/config/install/block.block.seven_secondary_local_tasks.yml @@ -1,17 +1,21 @@ +langcode: en +status: true +dependencies: + theme: + - seven id: seven_secondary_local_tasks theme: seven -weight: 0 -status: true -langcode: en region: pre_content +weight: 0 +provider: null plugin: local_tasks_block settings: id: local_tasks_block - label: Secondary tabs + label: 'Secondary tabs' + provider: core label_display: '0' + cache: + max_age: -1 primary: false secondary: true -dependencies: - theme: - - seven visibility: { } diff --git a/core/profiles/standard/config/install/block_content.type.basic.yml b/core/profiles/standard/config/install/block_content.type.basic.yml index 02982e4..f01ced9 100644 --- a/core/profiles/standard/config/install/block_content.type.basic.yml +++ b/core/profiles/standard/config/install/block_content.type.basic.yml @@ -1,5 +1,7 @@ +langcode: en +status: true +dependencies: { } id: basic label: 'Basic block' revision: 0 description: 'A basic block contains a title and a body.' -langcode: en diff --git a/core/profiles/standard/config/install/comment.type.comment.yml b/core/profiles/standard/config/install/comment.type.comment.yml index 6510287..ddcbbc9 100644 --- a/core/profiles/standard/config/install/comment.type.comment.yml +++ b/core/profiles/standard/config/install/comment.type.comment.yml @@ -1,6 +1,7 @@ +langcode: en +status: true +dependencies: { } id: comment label: 'Default comments' -description: 'Allows commenting on content' target_entity_type_id: node -status: true -langcode: en +description: 'Allows commenting on content' diff --git a/core/profiles/standard/config/install/contact.form.feedback.yml b/core/profiles/standard/config/install/contact.form.feedback.yml index 8fb7765..47f0e90 100644 --- a/core/profiles/standard/config/install/contact.form.feedback.yml +++ b/core/profiles/standard/config/install/contact.form.feedback.yml @@ -1,7 +1,9 @@ +langcode: en +status: true +dependencies: { } id: feedback label: 'Website feedback' -recipients: { } +recipients: + - admin@example.com reply: '' weight: 0 -status: true -langcode: en diff --git a/core/profiles/standard/config/install/core.base_field_override.node.page.promote.yml b/core/profiles/standard/config/install/core.base_field_override.node.page.promote.yml index 0f35334..27226a1 100644 --- a/core/profiles/standard/config/install/core.base_field_override.node.page.promote.yml +++ b/core/profiles/standard/config/install/core.base_field_override.node.page.promote.yml @@ -1,4 +1,3 @@ -# Changes the default value of the promote base field on the page node type. langcode: en status: true dependencies: @@ -8,13 +7,15 @@ id: node.page.promote field_name: promote entity_type: node bundle: page -label: Promoted to front page +label: 'Promoted to front page' description: '' required: false -translatable: true +translatable: false default_value: - value: 0 default_value_callback: '' -settings: { } +settings: + on_label: 'On' + off_label: 'Off' field_type: boolean diff --git a/core/profiles/standard/config/install/core.entity_form_display.block_content.basic.default.yml b/core/profiles/standard/config/install/core.entity_form_display.block_content.basic.default.yml index b146f34..ee0c138 100644 --- a/core/profiles/standard/config/install/core.entity_form_display.block_content.basic.default.yml +++ b/core/profiles/standard/config/install/core.entity_form_display.block_content.basic.default.yml @@ -11,13 +11,6 @@ targetEntityType: block_content bundle: basic mode: default content: - info: - type: string_textfield - weight: -5 - settings: - size: 60 - placeholder: '' - third_party_settings: { } body: type: text_textarea_with_summary weight: -4 @@ -26,5 +19,11 @@ content: summary_rows: 3 placeholder: '' third_party_settings: { } + info: + type: string_textfield + weight: -5 + settings: + size: 60 + placeholder: '' + third_party_settings: { } hidden: { } -third_party_settings: { } diff --git a/core/profiles/standard/config/install/core.entity_form_display.comment.comment.default.yml b/core/profiles/standard/config/install/core.entity_form_display.comment.comment.default.yml index 51a97b1..fa5d834 100644 --- a/core/profiles/standard/config/install/core.entity_form_display.comment.comment.default.yml +++ b/core/profiles/standard/config/install/core.entity_form_display.comment.comment.default.yml @@ -13,13 +13,6 @@ mode: default content: author: weight: -2 - subject: - type: string_textfield - weight: 10 - settings: - size: 60 - placeholder: '' - third_party_settings: { } comment_body: type: text_textarea weight: 11 @@ -27,5 +20,11 @@ content: rows: 5 placeholder: '' third_party_settings: { } + subject: + type: string_textfield + weight: 10 + settings: + size: 60 + placeholder: '' + third_party_settings: { } hidden: { } -third_party_settings: { } diff --git a/core/profiles/standard/config/install/core.entity_form_display.node.article.default.yml b/core/profiles/standard/config/install/core.entity_form_display.node.article.default.yml index 64f8efc..189737c 100644 --- a/core/profiles/standard/config/install/core.entity_form_display.node.article.default.yml +++ b/core/profiles/standard/config/install/core.entity_form_display.node.article.default.yml @@ -9,23 +9,14 @@ dependencies: - node.type.article module: - comment - - entity_reference - image - path - - taxonomy - text id: node.article.default targetEntityType: node bundle: article mode: default content: - title: - type: string_textfield - weight: 0 - settings: - size: 60 - placeholder: '' - third_party_settings: { } body: type: text_textarea_with_summary weight: 1 @@ -34,9 +25,14 @@ content: summary_rows: 3 placeholder: '' third_party_settings: { } - field_tags: - type: entity_reference_autocomplete_tags - weight: 3 + comment: + type: comment_default + weight: 20 + settings: { } + third_party_settings: { } + created: + type: datetime_timestamp + weight: 10 settings: { } third_party_settings: { } field_image: @@ -46,17 +42,14 @@ content: progress_indicator: throbber preview_image_style: thumbnail third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 5 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' + field_tags: + type: entity_reference_autocomplete_tags + weight: 3 + settings: { } third_party_settings: { } - created: - type: datetime_timestamp - weight: 10 + path: + type: path + weight: 30 settings: { } third_party_settings: { } promote: @@ -71,15 +64,19 @@ content: display_label: true weight: 16 third_party_settings: { } - comment: - type: comment_default - weight: 20 - settings: { } + title: + type: string_textfield + weight: 0 + settings: + size: 60 + placeholder: '' third_party_settings: { } - path: - type: path - weight: 30 - settings: { } + uid: + type: entity_reference_autocomplete + weight: 5 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' third_party_settings: { } hidden: { } -third_party_settings: { } diff --git a/core/profiles/standard/config/install/core.entity_form_display.node.page.default.yml b/core/profiles/standard/config/install/core.entity_form_display.node.page.default.yml index 967c74e..1fef06d 100644 --- a/core/profiles/standard/config/install/core.entity_form_display.node.page.default.yml +++ b/core/profiles/standard/config/install/core.entity_form_display.node.page.default.yml @@ -5,7 +5,6 @@ dependencies: - field.field.node.page.body - node.type.page module: - - entity_reference - path - text id: node.page.default @@ -13,19 +12,12 @@ targetEntityType: node bundle: page mode: default content: - title: - type: string_textfield - weight: -5 - settings: - size: 60 - placeholder: '' - third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 5 + body: + type: text_textarea_with_summary + weight: 31 settings: - match_operator: CONTAINS - size: 60 + rows: 9 + summary_rows: 3 placeholder: '' third_party_settings: { } created: @@ -33,6 +25,11 @@ content: weight: 10 settings: { } third_party_settings: { } + path: + type: path + weight: 30 + settings: { } + third_party_settings: { } promote: type: boolean_checkbox settings: @@ -45,18 +42,19 @@ content: display_label: true weight: 16 third_party_settings: { } - path: - type: path - weight: 30 - settings: { } + title: + type: string_textfield + weight: -5 + settings: + size: 60 + placeholder: '' third_party_settings: { } - body: - type: text_textarea_with_summary - weight: 31 + uid: + type: entity_reference_autocomplete + weight: 5 settings: - rows: 9 - summary_rows: 3 + match_operator: CONTAINS + size: 60 placeholder: '' third_party_settings: { } hidden: { } -third_party_settings: { } diff --git a/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml b/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml index d93cb2c..107d363 100644 --- a/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml +++ b/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml @@ -1,8 +1,24 @@ +langcode: en +status: true +dependencies: + config: + - field.field.user.user.user_picture + module: + - image + - user id: user.user.default targetEntityType: user bundle: user mode: default content: + account: + weight: -10 + contact: + weight: 5 + language: + weight: 0 + timezone: + weight: 6 user_picture: type: image_image settings: @@ -10,8 +26,4 @@ content: preview_image_style: thumbnail third_party_settings: { } weight: -1 -status: true -dependencies: - module: - - image - - user +hidden: { } diff --git a/core/profiles/standard/config/install/core.entity_view_display.block_content.basic.default.yml b/core/profiles/standard/config/install/core.entity_view_display.block_content.basic.default.yml index f9ee027..bd52f77 100644 --- a/core/profiles/standard/config/install/core.entity_view_display.block_content.basic.default.yml +++ b/core/profiles/standard/config/install/core.entity_view_display.block_content.basic.default.yml @@ -18,4 +18,3 @@ content: settings: { } third_party_settings: { } hidden: { } -third_party_settings: { } diff --git a/core/profiles/standard/config/install/core.entity_view_display.comment.comment.default.yml b/core/profiles/standard/config/install/core.entity_view_display.comment.comment.default.yml index 0489d23..1ed49ce 100644 --- a/core/profiles/standard/config/install/core.entity_view_display.comment.comment.default.yml +++ b/core/profiles/standard/config/install/core.entity_view_display.comment.comment.default.yml @@ -20,4 +20,3 @@ content: links: weight: 100 hidden: { } -third_party_settings: { } diff --git a/core/profiles/standard/config/install/core.entity_view_display.node.article.default.yml b/core/profiles/standard/config/install/core.entity_view_display.node.article.default.yml index 0689b22..a35424e 100644 --- a/core/profiles/standard/config/install/core.entity_view_display.node.article.default.yml +++ b/core/profiles/standard/config/install/core.entity_view_display.node.article.default.yml @@ -10,7 +10,6 @@ dependencies: module: - comment - image - - taxonomy - text - user id: node.article.default @@ -18,6 +17,19 @@ targetEntityType: node bundle: article mode: default content: + body: + type: text_default + weight: 0 + settings: { } + third_party_settings: { } + label: hidden + comment: + label: above + type: comment_default + weight: 20 + settings: + pager_id: 0 + third_party_settings: { } field_image: type: image weight: -1 @@ -26,12 +38,6 @@ content: image_link: '' third_party_settings: { } label: hidden - body: - type: text_default - weight: 0 - settings: { } - third_party_settings: { } - label: hidden field_tags: type: entity_reference_label weight: 10 @@ -39,17 +45,8 @@ content: settings: link: true third_party_settings: { } - comment: - label: above - type: comment_default - weight: 20 - settings: - pager_id: 0 - third_party_settings: { } links: weight: 100 hidden: - langcode: true field_image: true field_tags: true -third_party_settings: { } diff --git a/core/profiles/standard/config/install/core.entity_view_display.node.article.rss.yml b/core/profiles/standard/config/install/core.entity_view_display.node.article.rss.yml index 4308faf..75a14a3 100644 --- a/core/profiles/standard/config/install/core.entity_view_display.node.article.rss.yml +++ b/core/profiles/standard/config/install/core.entity_view_display.node.article.rss.yml @@ -18,9 +18,7 @@ content: links: weight: 100 hidden: - langcode: true body: true comment: true field_image: true field_tags: true -third_party_settings: { } diff --git a/core/profiles/standard/config/install/core.entity_view_display.node.article.teaser.yml b/core/profiles/standard/config/install/core.entity_view_display.node.article.teaser.yml index 464606d..1cf18dc 100644 --- a/core/profiles/standard/config/install/core.entity_view_display.node.article.teaser.yml +++ b/core/profiles/standard/config/install/core.entity_view_display.node.article.teaser.yml @@ -10,7 +10,6 @@ dependencies: - node.type.article module: - image - - taxonomy - text - user id: node.article.teaser @@ -18,6 +17,13 @@ targetEntityType: node bundle: article mode: teaser content: + body: + type: text_summary_or_trimmed + weight: 0 + settings: + trim_length: 600 + third_party_settings: { } + label: hidden field_image: type: image weight: -1 @@ -26,13 +32,6 @@ content: image_link: content third_party_settings: { } label: hidden - body: - type: text_summary_or_trimmed - weight: 0 - settings: - trim_length: 600 - third_party_settings: { } - label: hidden field_tags: type: entity_reference_label weight: 10 @@ -43,8 +42,6 @@ content: links: weight: 100 hidden: - langcode: true + comment: true field_image: true field_tags: true - comment: true -third_party_settings: { } diff --git a/core/profiles/standard/config/install/core.entity_view_display.node.page.default.yml b/core/profiles/standard/config/install/core.entity_view_display.node.page.default.yml index d331484..dcb2d3e 100644 --- a/core/profiles/standard/config/install/core.entity_view_display.node.page.default.yml +++ b/core/profiles/standard/config/install/core.entity_view_display.node.page.default.yml @@ -20,6 +20,4 @@ content: third_party_settings: { } links: weight: 101 -hidden: - langcode: true -third_party_settings: { } +hidden: { } diff --git a/core/profiles/standard/config/install/core.entity_view_display.node.page.teaser.yml b/core/profiles/standard/config/install/core.entity_view_display.node.page.teaser.yml index 3d4d9ed..f235a10 100644 --- a/core/profiles/standard/config/install/core.entity_view_display.node.page.teaser.yml +++ b/core/profiles/standard/config/install/core.entity_view_display.node.page.teaser.yml @@ -22,6 +22,4 @@ content: third_party_settings: { } links: weight: 101 -hidden: - langcode: true -third_party_settings: { } +hidden: { } diff --git a/core/profiles/standard/config/install/core.entity_view_display.user.user.compact.yml b/core/profiles/standard/config/install/core.entity_view_display.user.user.compact.yml index a46bd1b..9c74439 100644 --- a/core/profiles/standard/config/install/core.entity_view_display.user.user.compact.yml +++ b/core/profiles/standard/config/install/core.entity_view_display.user.user.compact.yml @@ -1,3 +1,12 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.user.compact + - field.field.user.user.user_picture + module: + - image + - user id: user.user.compact targetEntityType: user bundle: user @@ -13,10 +22,3 @@ content: label: hidden hidden: member_for: true -status: true -dependencies: - config: - - core.entity_view_mode.user.compact - module: - - image - - user diff --git a/core/profiles/standard/config/install/core.entity_view_display.user.user.default.yml b/core/profiles/standard/config/install/core.entity_view_display.user.user.default.yml index ebf106c..807fefe 100644 --- a/core/profiles/standard/config/install/core.entity_view_display.user.user.default.yml +++ b/core/profiles/standard/config/install/core.entity_view_display.user.user.default.yml @@ -1,8 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.field.user.user.user_picture + module: + - image + - user id: user.user.default targetEntityType: user bundle: user mode: default content: + member_for: + weight: 5 user_picture: type: image weight: 0 @@ -11,8 +21,4 @@ content: image_link: content third_party_settings: { } label: hidden -status: true -dependencies: - module: - - image - - user +hidden: { } diff --git a/core/profiles/standard/config/install/editor.editor.basic_html.yml b/core/profiles/standard/config/install/editor.editor.basic_html.yml index 797dfba..966cec6 100644 --- a/core/profiles/standard/config/install/editor.editor.basic_html.yml +++ b/core/profiles/standard/config/install/editor.editor.basic_html.yml @@ -1,3 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - filter.format.basic_html + module: + - ckeditor format: basic_html editor: ckeditor settings: @@ -43,10 +50,3 @@ image_upload: max_dimensions: width: 0 height: 0 -status: true -langcode: en -dependencies: - config: - - filter.format.basic_html - module: - - ckeditor diff --git a/core/profiles/standard/config/install/editor.editor.full_html.yml b/core/profiles/standard/config/install/editor.editor.full_html.yml index 80da28c..f5dd7bc 100644 --- a/core/profiles/standard/config/install/editor.editor.full_html.yml +++ b/core/profiles/standard/config/install/editor.editor.full_html.yml @@ -1,3 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - filter.format.full_html + module: + - ckeditor format: full_html editor: ckeditor settings: @@ -12,7 +19,7 @@ settings: - Strike - Superscript - Subscript - - - + - '-' - RemoveFormat - name: Linking @@ -51,10 +58,3 @@ image_upload: max_dimensions: width: 0 height: 0 -status: true -langcode: en -dependencies: - config: - - filter.format.full_html - module: - - ckeditor diff --git a/core/profiles/standard/config/install/field.field.block_content.basic.body.yml b/core/profiles/standard/config/install/field.field.block_content.basic.body.yml index e115700..89118ef 100644 --- a/core/profiles/standard/config/install/field.field.block_content.basic.body.yml +++ b/core/profiles/standard/config/install/field.field.block_content.basic.body.yml @@ -18,5 +18,4 @@ default_value: { } default_value_callback: '' settings: display_summary: false -third_party_settings: { } field_type: text_with_summary diff --git a/core/profiles/standard/config/install/field.field.comment.comment.comment_body.yml b/core/profiles/standard/config/install/field.field.comment.comment.comment_body.yml index 30aaabe..1337070 100644 --- a/core/profiles/standard/config/install/field.field.comment.comment.comment_body.yml +++ b/core/profiles/standard/config/install/field.field.comment.comment.comment_body.yml @@ -17,5 +17,4 @@ translatable: true default_value: { } default_value_callback: '' settings: { } -third_party_settings: { } field_type: text_long diff --git a/core/profiles/standard/config/install/field.field.node.article.body.yml b/core/profiles/standard/config/install/field.field.node.article.body.yml index e2cdb3a..8f3681d 100644 --- a/core/profiles/standard/config/install/field.field.node.article.body.yml +++ b/core/profiles/standard/config/install/field.field.node.article.body.yml @@ -18,5 +18,4 @@ default_value: { } default_value_callback: '' settings: display_summary: true -third_party_settings: { } field_type: text_with_summary diff --git a/core/profiles/standard/config/install/field.field.node.article.comment.yml b/core/profiles/standard/config/install/field.field.node.article.comment.yml index 932daff..59218f0 100644 --- a/core/profiles/standard/config/install/field.field.node.article.comment.yml +++ b/core/profiles/standard/config/install/field.field.node.article.comment.yml @@ -29,5 +29,4 @@ settings: form_location: true anonymous: 0 preview: 1 -third_party_settings: { } field_type: comment diff --git a/core/profiles/standard/config/install/field.field.node.article.field_image.yml b/core/profiles/standard/config/install/field.field.node.article.field_image.yml index 0a7c7f6..15285d6 100644 --- a/core/profiles/standard/config/install/field.field.node.article.field_image.yml +++ b/core/profiles/standard/config/install/field.field.node.article.field_image.yml @@ -1,10 +1,19 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_image + - node.type.article + module: + - image id: node.article.field_image +field_name: field_image entity_type: node bundle: article -field_name: field_image label: Image description: '' required: false +translatable: true default_value: { } default_value_callback: '' settings: @@ -23,10 +32,6 @@ settings: title: '' width: null height: null -status: true -langcode: en + handler: 'default:node' + handler_settings: { } field_type: image -dependencies: - config: - - field.storage.node.field_image - - node.type.article diff --git a/core/profiles/standard/config/install/field.field.node.article.field_tags.yml b/core/profiles/standard/config/install/field.field.node.article.field_tags.yml index d69a558..77eb70c 100644 --- a/core/profiles/standard/config/install/field.field.node.article.field_tags.yml +++ b/core/profiles/standard/config/install/field.field.node.article.field_tags.yml @@ -1,26 +1,27 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_tags + - node.type.article + module: + - entity_reference id: node.article.field_tags +field_name: field_tags entity_type: node bundle: article -field_name: field_tags -field_type: entity_reference label: Tags description: 'Enter a comma-separated list. For example: Amsterdam, Mexico City, "Cleveland, Ohio"' required: false +translatable: true default_value: { } default_value_callback: '' settings: - handler: default + handler: 'default:taxonomy_term' handler_settings: target_bundles: tags: tags sort: field: _none auto_create: true -status: true -langcode: en -dependencies: - config: - - field.storage.node.field_tags - - node.type.article - module: - - entity_reference +field_type: entity_reference diff --git a/core/profiles/standard/config/install/field.field.node.page.body.yml b/core/profiles/standard/config/install/field.field.node.page.body.yml index 57bb0b0..6c09432 100644 --- a/core/profiles/standard/config/install/field.field.node.page.body.yml +++ b/core/profiles/standard/config/install/field.field.node.page.body.yml @@ -18,5 +18,4 @@ default_value: { } default_value_callback: '' settings: display_summary: true -third_party_settings: { } field_type: text_with_summary diff --git a/core/profiles/standard/config/install/field.field.user.user.user_picture.yml b/core/profiles/standard/config/install/field.field.user.user.user_picture.yml index e1d8b64..a59642e 100644 --- a/core/profiles/standard/config/install/field.field.user.user.user_picture.yml +++ b/core/profiles/standard/config/install/field.field.user.user.user_picture.yml @@ -1,12 +1,19 @@ -id: user.user.user_picture -status: true langcode: en +status: true +dependencies: + config: + - field.storage.user.user_picture + module: + - image + - user +id: user.user.user_picture +field_name: user_picture entity_type: user bundle: user -field_name: user_picture label: Picture description: 'Your virtual face or picture.' required: false +translatable: false default_value: { } default_value_callback: '' settings: @@ -25,7 +32,6 @@ settings: height: null alt_field_required: false title_field_required: false + handler: 'default:node' + handler_settings: { } field_type: image -dependencies: - config: - - field.storage.user.user_picture diff --git a/core/profiles/standard/config/install/field.storage.node.field_image.yml b/core/profiles/standard/config/install/field.storage.node.field_image.yml index eb40f37..9c1a644 100644 --- a/core/profiles/standard/config/install/field.storage.node.field_image.yml +++ b/core/profiles/standard/config/install/field.storage.node.field_image.yml @@ -1,8 +1,13 @@ +langcode: en +status: true +dependencies: + module: + - node + - image id: node.field_image field_name: field_image entity_type: node type: image -module: image settings: uri_scheme: public default_image: @@ -11,16 +16,15 @@ settings: title: '' width: null height: null + target_type: file + display_field: false + display_default: false + target_bundle: null +module: image locked: false cardinality: 1 translatable: true indexes: target_id: - target_id -status: true -langcode: en -dependencies: - module: - - node - - image persist_with_no_fields: false diff --git a/core/profiles/standard/config/install/field.storage.node.field_tags.yml b/core/profiles/standard/config/install/field.storage.node.field_tags.yml index 71e0425..ca20381 100644 --- a/core/profiles/standard/config/install/field.storage.node.field_tags.yml +++ b/core/profiles/standard/config/install/field.storage.node.field_tags.yml @@ -1,17 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - node + - taxonomy id: node.field_tags field_name: field_tags entity_type: node type: entity_reference -module: taxonomy settings: target_type: taxonomy_term +module: entity_reference locked: false cardinality: -1 translatable: true -status: true -langcode: en -dependencies: - module: - - node - - taxonomy +indexes: { } persist_with_no_fields: false diff --git a/core/profiles/standard/config/install/field.storage.user.user_picture.yml b/core/profiles/standard/config/install/field.storage.user.user_picture.yml index b7e3141..48da557 100644 --- a/core/profiles/standard/config/install/field.storage.user.user_picture.yml +++ b/core/profiles/standard/config/install/field.storage.user.user_picture.yml @@ -1,6 +1,10 @@ -id: user.user_picture -status: true langcode: en +status: true +dependencies: + module: + - image + - user +id: user.user_picture field_name: user_picture entity_type: user type: image @@ -12,14 +16,15 @@ settings: title: '' width: null height: null + target_type: file + display_field: false + display_default: false + target_bundle: null module: image locked: false cardinality: 1 +translatable: true indexes: target_id: - target_id -dependencies: - module: - - image - - user persist_with_no_fields: false diff --git a/core/profiles/standard/config/install/filter.format.basic_html.yml b/core/profiles/standard/config/install/filter.format.basic_html.yml index 21a4656..a2562d2 100644 --- a/core/profiles/standard/config/install/filter.format.basic_html.yml +++ b/core/profiles/standard/config/install/filter.format.basic_html.yml @@ -1,6 +1,10 @@ -format: basic_html -name: 'Basic HTML' +langcode: en status: true +dependencies: + module: + - editor +name: 'Basic HTML' +format: basic_html weight: 0 roles: - authenticated @@ -44,7 +48,3 @@ filters: status: true weight: 11 settings: { } -langcode: en -dependencies: - module: - - editor diff --git a/core/profiles/standard/config/install/filter.format.full_html.yml b/core/profiles/standard/config/install/filter.format.full_html.yml index cfdf9e2..e5febb2 100644 --- a/core/profiles/standard/config/install/filter.format.full_html.yml +++ b/core/profiles/standard/config/install/filter.format.full_html.yml @@ -1,6 +1,10 @@ -format: full_html -name: 'Full HTML' +langcode: en status: true +dependencies: + module: + - editor +name: 'Full HTML' +format: full_html weight: 1 roles: - administrator @@ -29,7 +33,3 @@ filters: status: true weight: 11 settings: { } -langcode: en -dependencies: - module: - - editor diff --git a/core/profiles/standard/config/install/filter.format.restricted_html.yml b/core/profiles/standard/config/install/filter.format.restricted_html.yml index 0e40378..cbd40c0 100644 --- a/core/profiles/standard/config/install/filter.format.restricted_html.yml +++ b/core/profiles/standard/config/install/filter.format.restricted_html.yml @@ -1,6 +1,8 @@ -format: restricted_html -name: 'Restricted HTML' +langcode: en status: true +dependencies: { } +name: 'Restricted HTML' +format: restricted_html weight: 0 roles: - anonymous @@ -33,4 +35,3 @@ filters: status: true weight: 10 settings: { } -langcode: en diff --git a/core/profiles/standard/config/install/node.type.article.yml b/core/profiles/standard/config/install/node.type.article.yml index 7cb127d..cc5f7b8 100644 --- a/core/profiles/standard/config/install/node.type.article.yml +++ b/core/profiles/standard/config/install/node.type.article.yml @@ -1,9 +1,10 @@ -type: article +langcode: en +status: true +dependencies: { } name: Article +type: article description: 'Use articles for time-sensitive content like news, press releases or blog posts.' help: '' new_revision: false preview_mode: 1 display_submitted: true -status: true -langcode: en diff --git a/core/profiles/standard/config/install/node.type.page.yml b/core/profiles/standard/config/install/node.type.page.yml index f9b4353..70bed48 100644 --- a/core/profiles/standard/config/install/node.type.page.yml +++ b/core/profiles/standard/config/install/node.type.page.yml @@ -1,9 +1,10 @@ -type: page +langcode: en +status: true +dependencies: { } name: 'Basic page' +type: page description: 'Use basic pages for your static content, such as an ''About us'' page.' help: '' new_revision: false preview_mode: 1 display_submitted: false -status: true -langcode: en diff --git a/core/profiles/standard/config/install/rdf.mapping.node.article.yml b/core/profiles/standard/config/install/rdf.mapping.node.article.yml index f1b167e..7242759 100644 --- a/core/profiles/standard/config/install/rdf.mapping.node.article.yml +++ b/core/profiles/standard/config/install/rdf.mapping.node.article.yml @@ -1,3 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - node.type.article + module: + - node id: node.article targetEntityType: node bundle: article @@ -26,22 +33,17 @@ fieldMappings: comment: properties: - 'schema:comment' - mapping_type: 'rel' + mapping_type: rel comment_count: properties: - 'schema:interactionCount' datatype_callback: callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount' arguments: - interaction_type: 'UserComments' + interaction_type: UserComments field_image: properties: - 'schema:image' field_tags: properties: - 'schema:about' -dependencies: - config: - - node.type.article - module: - - node diff --git a/core/profiles/standard/config/install/rdf.mapping.node.page.yml b/core/profiles/standard/config/install/rdf.mapping.node.page.yml index 166bd2a..dd6535c 100644 --- a/core/profiles/standard/config/install/rdf.mapping.node.page.yml +++ b/core/profiles/standard/config/install/rdf.mapping.node.page.yml @@ -1,3 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - node.type.page + module: + - node id: node.page targetEntityType: node bundle: page @@ -23,16 +30,11 @@ fieldMappings: uid: properties: - 'schema:author' - mapping_type: 'rel' + mapping_type: rel comment_count: properties: - 'schema:interactionCount' datatype_callback: callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount' arguments: - interaction_type: 'UserComments' -dependencies: - config: - - node.type.page - module: - - node + interaction_type: UserComments diff --git a/core/profiles/standard/config/install/rdf.mapping.taxonomy_term.tags.yml b/core/profiles/standard/config/install/rdf.mapping.taxonomy_term.tags.yml index 9c7b4dc..46b43f1 100644 --- a/core/profiles/standard/config/install/rdf.mapping.taxonomy_term.tags.yml +++ b/core/profiles/standard/config/install/rdf.mapping.taxonomy_term.tags.yml @@ -1,3 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.tags + module: + - taxonomy id: taxonomy_term.tags targetEntityType: taxonomy_term bundle: tags @@ -10,8 +17,3 @@ fieldMappings: description: properties: - 'schema:description' -dependencies: - config: - - taxonomy.vocabulary.tags - module: - - taxonomy diff --git a/core/profiles/standard/config/install/taxonomy.vocabulary.tags.yml b/core/profiles/standard/config/install/taxonomy.vocabulary.tags.yml index 0f8001e..8fac8f5 100644 --- a/core/profiles/standard/config/install/taxonomy.vocabulary.tags.yml +++ b/core/profiles/standard/config/install/taxonomy.vocabulary.tags.yml @@ -1,7 +1,8 @@ -vid: tags +langcode: en +status: true +dependencies: { } name: Tags +vid: tags description: 'Use tags to group articles on similar topics into categories.' hierarchy: 0 weight: 0 -status: true -langcode: en diff --git a/core/profiles/standard/config/install/user.role.administrator.yml b/core/profiles/standard/config/install/user.role.administrator.yml index daf926b..e5453b7 100644 --- a/core/profiles/standard/config/install/user.role.administrator.yml +++ b/core/profiles/standard/config/install/user.role.administrator.yml @@ -1,5 +1,8 @@ +langcode: en +status: true +dependencies: { } id: administrator label: Administrator weight: 2 -langcode: en is_admin: true +permissions: { } diff --git a/core/tests/Drupal/KernelTests/AssertConfigTrait.php b/core/tests/Drupal/KernelTests/AssertConfigTrait.php new file mode 100644 index 0000000..1545814 --- /dev/null +++ b/core/tests/Drupal/KernelTests/AssertConfigTrait.php @@ -0,0 +1,86 @@ +getEdits() as $op) { + switch (get_class($op)) { + case 'Drupal\Component\Diff\Engine\DiffOpCopy': + // Nothing to do, a copy is what we expect. + break; + case 'Drupal\Component\Diff\Engine\DiffOpDelete': + case 'Drupal\Component\Diff\Engine\DiffOpChange': + // Its not part of the skipped config, so we can directly throw the + // exception. + if (!in_array($config_name, array_keys($skipped_config))) { + throw new \Exception($config_name . ': ' . var_export($op, TRUE)); + } + + // Allow to skip entire config files. + if ($skipped_config[$config_name] === TRUE) { + continue; + } + + // Allow to skip some specific lines of imported config files. + // Ensure that the only changed lines are the ones we marked as + // skipped. + $all_skipped = TRUE; + + $changes = get_class($op) == 'Drupal\Component\Diff\Engine\DiffOpDelete' ? $op->orig : $op->closing; + foreach ($changes as $closing) { + // Skip some of the changes, as they are caused by module install + // code. + $found = FALSE; + if (!empty($skipped_config[$config_name])) { + foreach ($skipped_config[$config_name] as $line) { + if (strpos($closing, $line) !== FALSE) { + $found = TRUE; + break; + } + } + } + $all_skipped = $all_skipped && $found; + } + + if (!$all_skipped) { + throw new \Exception($config_name . ': ' . var_export($op, TRUE)); + } + break; + case 'Drupal\Component\Diff\Engine\DiffOpAdd': + foreach ($op->closing as $closing) { + // The UUIDs don't exist in the default config. + if (strpos($closing, 'uuid: ') === 0) { + continue; + } + throw new \Exception($config_name . ': ' . var_export($op, TRUE)); + } + break; + default: + throw new \Exception($config_name . ': ' . var_export($op, TRUE)); + break; + } + } + } + +} diff --git a/core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php b/core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php new file mode 100644 index 0000000..5a1a385 --- /dev/null +++ b/core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php @@ -0,0 +1,111 @@ +root)); + + parent::setUp(); + + // @todo ModuleInstaller calls system_rebuild_module_data which is part of + // system.module, see https://www.drupal.org/node/2208429. + include_once $this->root . '/core/modules/system/system.module'; + + // Set up the state values so we know where to find the files when running + // drupal_get_filename(). + // @todo Remove as part of https://www.drupal.org/node/2186491 + system_rebuild_module_data(); + + $this->installSchema('system', 'router'); + } + + /** + * @dataProvider providerTestModuleConfig + */ + public function ptestModuleConfig($module) { + /** @var \Drupal\Core\Extension\ModuleInstallerInterface $module_installer */ + $module_installer = $this->container->get('module_installer'); + /** @var \Drupal\Core\Config\StorageInterface $active_config_storage */ + $active_config_storage = $this->container->get('config.storage'); + /** @var \Drupal\Core\Config\ConfigManagerInterface $config_manager */ + $config_manager = $this->container->get('config.manager'); + + $module_installer->install([$module]); + + // System and user are required in order to be able to install some of the + // other modules. Therefore they are put into static::$modules, which though + // doesn't install config files, so import those config files explicitly. + switch ($module) { + case 'system': + case 'user': + $this->installConfig([$module]); + break; + } + + $default_install_path = drupal_get_path('module', $module) . '/' . InstallStorage::CONFIG_INSTALL_DIRECTORY; + $module_config_storage = new FileStorage($default_install_path, StorageInterface::DEFAULT_COLLECTION); + + // The following config entries are changed on module install, so compare + // it doesn't make sense. + $skipped_config = []; + $skipped_config['locale.settings'][] = 'path: '; + $skipped_config['syslog.settings'][] = 'facility: '; + // @todo Figure out why simpletest.settings is not installed. + $skipped_config['simpletest.settings'] = TRUE; + + // Compare the installed config with the one in the module directory. + foreach ($module_config_storage->listAll() as $config_name) { + $result = $config_manager->diff($module_config_storage, $active_config_storage, $config_name); + $this->assertConfigDiff($result, $config_name, $skipped_config); + } + } + + public function providerTestModuleConfig() { + $modules = array_map(function($path) { + return str_replace('core/modules/', '', $path); + }, array_keys(iterator_to_array(new \FilesystemIterator('core/modules')))); + $modules_keyed = array_combine($modules, $modules); + + $data = array_map(function ($module) { + return [$module]; + }, $modules_keyed); + + return $data; + } + +} +