From bbbf489ce2373842db11f5b4f1336fb6b59d7a92 Mon Sep 17 00:00:00 2001 From: Marcus Bernal Date: Sat, 31 Mar 2018 11:04:22 -0600 Subject: [PATCH 1/7] Opinionated the default modules installed. Removed: - history - tour Added: - admin_toolbar - entity - entity_browser - paragraphs - search_api_solr - components - for use with the upcoming pragtic theme --- metaltoad.info.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/metaltoad.info.yml b/metaltoad.info.yml index c7af63d..ebabffd 100644 --- a/metaltoad.info.yml +++ b/metaltoad.info.yml @@ -9,7 +9,6 @@ distribution: # Required modules dependencies: - node - - history - block - breakpoint - ckeditor @@ -40,7 +39,12 @@ dependencies: - rdf - views - views_ui - - tour + - admin_toolbar + - entity + - entity_browser + - paragraphs + - search_api_solr + - components # For theme Twig component libraries (e.g., @atoms, @molecules) themes: - bartik - seven From 26ad0b0c824d01dd7a902ba4d58df5ebdba43ad7 Mon Sep 17 00:00:00 2001 From: Marcus Bernal Date: Sat, 31 Mar 2018 11:15:31 -0600 Subject: [PATCH 2/7] Added default use the adminimal_theme. --- config/install/system.theme.yml | 2 +- metaltoad.info.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/install/system.theme.yml b/config/install/system.theme.yml index 57dadd4..7a0aac1 100644 --- a/config/install/system.theme.yml +++ b/config/install/system.theme.yml @@ -1,2 +1,2 @@ -admin: seven +admin: adminimal_theme default: bartik diff --git a/metaltoad.info.yml b/metaltoad.info.yml index ebabffd..fd928d0 100644 --- a/metaltoad.info.yml +++ b/metaltoad.info.yml @@ -47,4 +47,4 @@ dependencies: - components # For theme Twig component libraries (e.g., @atoms, @molecules) themes: - bartik - - seven + - adminimal_theme From ab64bf69e994d70e144ba22c620f4889ff82dbe2 Mon Sep 17 00:00:00 2001 From: Marcus Bernal Date: Sat, 31 Mar 2018 19:15:34 -0600 Subject: [PATCH 3/7] Added entity_reference_revisions and search_api dependencies. --- metaltoad.info.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/metaltoad.info.yml b/metaltoad.info.yml index fd928d0..55e1cb6 100644 --- a/metaltoad.info.yml +++ b/metaltoad.info.yml @@ -39,10 +39,13 @@ dependencies: - rdf - views - views_ui + # Contrib - admin_toolbar - entity - entity_browser - paragraphs + - entity_reference_revisions + - search_api - search_api_solr - components # For theme Twig component libraries (e.g., @atoms, @molecules) themes: From fee6404cd182723b2d5ae8be0fb16e8850f06fe3 Mon Sep 17 00:00:00 2001 From: Marcus Bernal Date: Sat, 31 Mar 2018 19:46:01 -0600 Subject: [PATCH 4/7] Removed core search. --- metaltoad.info.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/metaltoad.info.yml b/metaltoad.info.yml index 55e1cb6..179da18 100644 --- a/metaltoad.info.yml +++ b/metaltoad.info.yml @@ -31,7 +31,6 @@ dependencies: - dynamic_page_cache - taxonomy - dblog - - search - shortcut - toolbar - field_ui From 4a3ecfa374ce09f278872efae05a945507f35624 Mon Sep 17 00:00:00 2001 From: Marcus Bernal Date: Sat, 7 Apr 2018 22:20:56 -0600 Subject: [PATCH 5/7] Removed comment core module and added media core module. --- metaltoad.info.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metaltoad.info.yml b/metaltoad.info.yml index 179da18..a1b6171 100644 --- a/metaltoad.info.yml +++ b/metaltoad.info.yml @@ -8,13 +8,13 @@ distribution: # Required modules dependencies: + # Core - node - block - breakpoint - ckeditor - color - config - - comment - contextual - contact - menu_link_content @@ -24,6 +24,7 @@ dependencies: - editor - help - image + - media - menu_ui - options - path From 5e4d37ac1abe286be9e290facab3404b00fbdaf7 Mon Sep 17 00:00:00 2001 From: Marcus Bernal Date: Sat, 7 Apr 2018 22:31:36 -0600 Subject: [PATCH 6/7] Updated contrib modules. Includes: - embed - entityqueue - entity_embed - paragraphs_edit - inline_entity_form - taxonomy_access_fix - role_delegation - token - metatag - redirect - pathauto - simple_sitemap - google_analytics - system_status - security_review --- metaltoad.info.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/metaltoad.info.yml b/metaltoad.info.yml index a1b6171..37c2a7c 100644 --- a/metaltoad.info.yml +++ b/metaltoad.info.yml @@ -41,12 +41,27 @@ dependencies: - views_ui # Contrib - admin_toolbar + - embed - entity + - entityqueue - entity_browser - - paragraphs + - entity_embed - entity_reference_revisions + - paragraphs + - paragraphs_edit + - inline_entity_form + - taxonomy_access_fix + - role_delegation + - token - search_api - search_api_solr + - metatag + - redirect + - pathauto + - simple_sitemap + - google_analytics + - system_status + - security_review - components # For theme Twig component libraries (e.g., @atoms, @molecules) themes: - bartik From 0b02ab52b3994806924e7b0d3f04448ae2cd510f Mon Sep 17 00:00:00 2001 From: Marcus Bernal Date: Sat, 7 Apr 2018 23:03:29 -0600 Subject: [PATCH 7/7] Removed configuration regarding comments. --- config/install/comment.type.comment.yml | 7 ---- ...y_form_display.comment.comment.default.yml | 30 ----------------- ...tity_form_display.node.article.default.yml | 7 ---- ...y_view_display.comment.comment.default.yml | 22 ------------- ...tity_view_display.node.article.default.yml | 16 --------- ...e.entity_view_display.node.article.rss.yml | 2 -- ...ntity_view_display.node.article.teaser.yml | 2 -- ...eld.field.comment.comment.comment_body.yml | 20 ----------- .../field.field.node.article.comment.yml | 32 ------------------ config/install/field.storage.node.comment.yml | 19 ----------- .../install/rdf.mapping.comment.comment.yml | 33 ------------------- config/install/rdf.mapping.node.article.yml | 4 --- config/install/rdf.mapping.node.page.yml | 7 ---- 13 files changed, 201 deletions(-) delete mode 100644 config/install/comment.type.comment.yml delete mode 100644 config/install/core.entity_form_display.comment.comment.default.yml delete mode 100644 config/install/core.entity_view_display.comment.comment.default.yml delete mode 100644 config/install/field.field.comment.comment.comment_body.yml delete mode 100644 config/install/field.field.node.article.comment.yml delete mode 100644 config/install/field.storage.node.comment.yml delete mode 100644 config/install/rdf.mapping.comment.comment.yml diff --git a/config/install/comment.type.comment.yml b/config/install/comment.type.comment.yml deleted file mode 100644 index ddcbbc9..0000000 --- a/config/install/comment.type.comment.yml +++ /dev/null @@ -1,7 +0,0 @@ -langcode: en -status: true -dependencies: { } -id: comment -label: 'Default comments' -target_entity_type_id: node -description: 'Allows commenting on content' diff --git a/config/install/core.entity_form_display.comment.comment.default.yml b/config/install/core.entity_form_display.comment.comment.default.yml deleted file mode 100644 index fa5d834..0000000 --- a/config/install/core.entity_form_display.comment.comment.default.yml +++ /dev/null @@ -1,30 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - comment.type.comment - - field.field.comment.comment.comment_body - module: - - text -id: comment.comment.default -targetEntityType: comment -bundle: comment -mode: default -content: - author: - weight: -2 - comment_body: - type: text_textarea - weight: 11 - settings: - rows: 5 - placeholder: '' - third_party_settings: { } - subject: - type: string_textfield - weight: 10 - settings: - size: 60 - placeholder: '' - third_party_settings: { } -hidden: { } diff --git a/config/install/core.entity_form_display.node.article.default.yml b/config/install/core.entity_form_display.node.article.default.yml index 189737c..eb0fe44 100644 --- a/config/install/core.entity_form_display.node.article.default.yml +++ b/config/install/core.entity_form_display.node.article.default.yml @@ -3,12 +3,10 @@ status: true dependencies: config: - field.field.node.article.body - - field.field.node.article.comment - field.field.node.article.field_image - field.field.node.article.field_tags - node.type.article module: - - comment - image - path - text @@ -25,11 +23,6 @@ content: summary_rows: 3 placeholder: '' third_party_settings: { } - comment: - type: comment_default - weight: 20 - settings: { } - third_party_settings: { } created: type: datetime_timestamp weight: 10 diff --git a/config/install/core.entity_view_display.comment.comment.default.yml b/config/install/core.entity_view_display.comment.comment.default.yml deleted file mode 100644 index 1ed49ce..0000000 --- a/config/install/core.entity_view_display.comment.comment.default.yml +++ /dev/null @@ -1,22 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - comment.type.comment - - field.field.comment.comment.comment_body - module: - - text -id: comment.comment.default -targetEntityType: comment -bundle: comment -mode: default -content: - comment_body: - label: hidden - type: text_default - weight: 0 - settings: { } - third_party_settings: { } - links: - weight: 100 -hidden: { } diff --git a/config/install/core.entity_view_display.node.article.default.yml b/config/install/core.entity_view_display.node.article.default.yml index e0d3782..d86eb04 100644 --- a/config/install/core.entity_view_display.node.article.default.yml +++ b/config/install/core.entity_view_display.node.article.default.yml @@ -3,12 +3,10 @@ status: true dependencies: config: - field.field.node.article.body - - field.field.node.article.comment - field.field.node.article.field_image - field.field.node.article.field_tags - node.type.article module: - - comment - image - text - user @@ -23,13 +21,6 @@ content: 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 @@ -45,13 +36,6 @@ content: settings: link: true third_party_settings: { } - comment: - label: above - type: comment_default - weight: 110 - settings: - pager_id: 0 - third_party_settings: { } links: weight: 100 hidden: diff --git a/config/install/core.entity_view_display.node.article.rss.yml b/config/install/core.entity_view_display.node.article.rss.yml index 75a14a3..3f2f0e2 100644 --- a/config/install/core.entity_view_display.node.article.rss.yml +++ b/config/install/core.entity_view_display.node.article.rss.yml @@ -4,7 +4,6 @@ dependencies: config: - core.entity_view_mode.node.rss - field.field.node.article.body - - field.field.node.article.comment - field.field.node.article.field_image - field.field.node.article.field_tags - node.type.article @@ -19,6 +18,5 @@ content: weight: 100 hidden: body: true - comment: true field_image: true field_tags: true diff --git a/config/install/core.entity_view_display.node.article.teaser.yml b/config/install/core.entity_view_display.node.article.teaser.yml index 1cf18dc..e676e3d 100644 --- a/config/install/core.entity_view_display.node.article.teaser.yml +++ b/config/install/core.entity_view_display.node.article.teaser.yml @@ -4,7 +4,6 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.article.body - - field.field.node.article.comment - field.field.node.article.field_image - field.field.node.article.field_tags - node.type.article @@ -42,6 +41,5 @@ content: links: weight: 100 hidden: - comment: true field_image: true field_tags: true diff --git a/config/install/field.field.comment.comment.comment_body.yml b/config/install/field.field.comment.comment.comment_body.yml deleted file mode 100644 index 1337070..0000000 --- a/config/install/field.field.comment.comment.comment_body.yml +++ /dev/null @@ -1,20 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - comment.type.comment - - field.storage.comment.comment_body - module: - - text -id: comment.comment.comment_body -field_name: comment_body -entity_type: comment -bundle: comment -label: Comment -description: '' -required: true -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: text_long diff --git a/config/install/field.field.node.article.comment.yml b/config/install/field.field.node.article.comment.yml deleted file mode 100644 index 59218f0..0000000 --- a/config/install/field.field.node.article.comment.yml +++ /dev/null @@ -1,32 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.comment - - node.type.article - module: - - comment -id: node.article.comment -field_name: comment -entity_type: node -bundle: article -label: Comments -description: '' -required: true -translatable: true -default_value: - - - status: 2 - cid: 0 - last_comment_name: null - last_comment_timestamp: 0 - last_comment_uid: 0 - comment_count: 0 -default_value_callback: '' -settings: - default_mode: 1 - per_page: 50 - form_location: true - anonymous: 0 - preview: 1 -field_type: comment diff --git a/config/install/field.storage.node.comment.yml b/config/install/field.storage.node.comment.yml deleted file mode 100644 index c5eee2c..0000000 --- a/config/install/field.storage.node.comment.yml +++ /dev/null @@ -1,19 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - comment - - node -id: node.comment -field_name: comment -entity_type: node -type: comment -settings: - comment_type: comment -module: comment -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/install/rdf.mapping.comment.comment.yml b/config/install/rdf.mapping.comment.comment.yml deleted file mode 100644 index f0d587a..0000000 --- a/config/install/rdf.mapping.comment.comment.yml +++ /dev/null @@ -1,33 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - comment.type.comment - module: - - comment -id: comment.comment -targetEntityType: comment -bundle: comment -types: - - 'schema:Comment' -fieldMappings: - subject: - properties: - - 'schema:name' - created: - properties: - - 'schema:dateCreated' - datatype_callback: - callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value' - changed: - properties: - - 'schema:dateModified' - datatype_callback: - callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value' - comment_body: - properties: - - 'schema:text' - uid: - properties: - - 'schema:author' - mapping_type: rel diff --git a/config/install/rdf.mapping.node.article.yml b/config/install/rdf.mapping.node.article.yml index 7242759..2cfec8d 100644 --- a/config/install/rdf.mapping.node.article.yml +++ b/config/install/rdf.mapping.node.article.yml @@ -30,10 +30,6 @@ fieldMappings: uid: properties: - 'schema:author' - comment: - properties: - - 'schema:comment' - mapping_type: rel comment_count: properties: - 'schema:interactionCount' diff --git a/config/install/rdf.mapping.node.page.yml b/config/install/rdf.mapping.node.page.yml index dd6535c..c515236 100644 --- a/config/install/rdf.mapping.node.page.yml +++ b/config/install/rdf.mapping.node.page.yml @@ -31,10 +31,3 @@ fieldMappings: properties: - 'schema:author' mapping_type: rel - comment_count: - properties: - - 'schema:interactionCount' - datatype_callback: - callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount' - arguments: - interaction_type: UserComments