├── .gitignore ├── LICENSE ├── README.md ├── assets ├── css │ └── style.css └── image │ ├── default_user_picture.png │ ├── logo.png │ └── logo.psd ├── composer.json ├── config ├── install │ ├── automated_cron.settings.yml │ ├── block.block.weeshop_molla_account_icon.yml │ ├── block.block.weeshop_molla_cart_icon.yml │ ├── block.block.weeshop_molla_category_menu.yml │ ├── block.block.weeshop_molla_currency_switcher.yml │ ├── block.block.weeshop_molla_header_search.yml │ ├── block.block.weeshop_molla_language_switcher_interface_text.yml │ ├── block.block.weeshop_molla_main_navigation.yml │ ├── block.block.weeshop_molla_mega_menu_gallery.yml │ ├── block.block.weeshop_molla_mobile_menu_toggle.yml │ ├── block.block.weeshop_molla_promotion_slogan.yml │ ├── block.block.weeshop_molla_sign_in_up.yml │ ├── block.block.weeshop_molla_site_branding.yml │ ├── block.block.weeshop_molla_welcome_message.yml │ ├── block.block.weeshop_molla_wish_list_icon.yml │ ├── block_content.type.basic.yml │ ├── comment.type.comment.yml │ ├── commerce_currency_resolver.currency_mapping.yml │ ├── commerce_currency_resolver.settings.yml │ ├── commerce_exchanger.commerce_exchange_rates.european_central_bank.yml │ ├── commerce_exchanger.latest_exchange_rates.european_central_bank.yml │ ├── contact.form.feedback.yml │ ├── core.base_field_override.node.page.promote.yml │ ├── core.entity_form_display.block_content.basic.default.yml │ ├── core.entity_form_display.comment.comment.default.yml │ ├── core.entity_form_display.node.article.default.yml │ ├── core.entity_form_display.node.page.default.yml │ ├── core.entity_form_display.user.user.default.yml │ ├── core.entity_view_display.block_content.basic.default.yml │ ├── core.entity_view_display.comment.comment.default.yml │ ├── core.entity_view_display.node.article.default.yml │ ├── core.entity_view_display.node.article.rss.yml │ ├── core.entity_view_display.node.article.teaser.yml │ ├── core.entity_view_display.node.page.default.yml │ ├── core.entity_view_display.node.page.teaser.yml │ ├── core.entity_view_display.user.user.compact.yml │ ├── core.entity_view_display.user.user.default.yml │ ├── editor.editor.basic_html.yml │ ├── editor.editor.full_html.yml │ ├── field.field.block_content.basic.body.yml │ ├── field.field.comment.comment.comment_body.yml │ ├── field.field.node.article.body.yml │ ├── field.field.node.article.comment.yml │ ├── field.field.node.article.field_image.yml │ ├── field.field.node.article.field_tags.yml │ ├── field.field.node.page.body.yml │ ├── field.field.user.user.user_picture.yml │ ├── field.storage.node.comment.yml │ ├── field.storage.node.field_image.yml │ ├── field.storage.node.field_tags.yml │ ├── field.storage.user.user_picture.yml │ ├── filter.format.basic_html.yml │ ├── filter.format.full_html.yml │ ├── filter.format.restricted_html.yml │ ├── language.entity.zh-hans.yml │ ├── language.mappings.yml │ ├── language.negotiation.yml │ ├── language.types.yml │ ├── node.settings.yml │ ├── node.type.article.yml │ ├── node.type.page.yml │ ├── system.cron.yml │ ├── system.theme.yml │ ├── taxonomy.vocabulary.tags.yml │ ├── tb_megamenu.menu_config.main__weeshop_molla.yml │ ├── user.role.administrator.yml │ └── weeshop_adminimal.settings.yml └── optional │ ├── image.style.max_1300x1300.yml │ ├── image.style.max_2600x2600.yml │ ├── image.style.max_325x325.yml │ ├── image.style.max_650x650.yml │ ├── responsive_image.styles.narrow.yml │ └── responsive_image.styles.wide.yml ├── licenses.txt ├── modules └── weeshop_features │ ├── weeshop_order_type │ ├── config │ │ └── install │ │ │ └── commerce_order.commerce_order_type.default.yml │ ├── weeshop_order_type.features.yml │ └── weeshop_order_type.info.yml │ ├── weeshop_product_search │ ├── config │ │ └── install │ │ │ ├── facets.facet.api_categories.yml │ │ │ ├── facets.facet.categories.yml │ │ │ ├── facets.facet.variations_product_variation_clothes_color.yml │ │ │ ├── facets.facet.variations_product_variation_clothes_size.yml │ │ │ ├── search_api.index.product_search.yml │ │ │ ├── search_api.server.default_server.yml │ │ │ ├── search_api_autocomplete.search.product_search.yml │ │ │ └── views.view.product_search.yml │ ├── weeshop_product_search.features.yml │ └── weeshop_product_search.info.yml │ ├── weeshop_product_tpye_clothes │ ├── config │ │ └── install │ │ │ ├── commerce_product.commerce_product_attribute.clothes_color.yml │ │ │ ├── commerce_product.commerce_product_attribute.clothes_size.yml │ │ │ ├── commerce_product.commerce_product_type.clothes.yml │ │ │ ├── commerce_product.commerce_product_variation_type.clothes.yml │ │ │ ├── core.base_field_override.commerce_product.clothes.changed.yml │ │ │ ├── core.base_field_override.commerce_product.clothes.created.yml │ │ │ ├── core.base_field_override.commerce_product.clothes.path.yml │ │ │ ├── core.base_field_override.commerce_product.clothes.status.yml │ │ │ ├── core.base_field_override.commerce_product.clothes.title.yml │ │ │ ├── core.base_field_override.commerce_product.clothes.uid.yml │ │ │ ├── core.base_field_override.commerce_product_attribute_value.clothes_color.changed.yml │ │ │ ├── core.base_field_override.commerce_product_attribute_value.clothes_color.created.yml │ │ │ ├── core.base_field_override.commerce_product_attribute_value.clothes_color.name.yml │ │ │ ├── core.base_field_override.commerce_product_attribute_value.clothes_size.changed.yml │ │ │ ├── core.base_field_override.commerce_product_attribute_value.clothes_size.created.yml │ │ │ ├── core.base_field_override.commerce_product_attribute_value.clothes_size.name.yml │ │ │ ├── core.base_field_override.commerce_product_variation.clothes.changed.yml │ │ │ ├── core.base_field_override.commerce_product_variation.clothes.created.yml │ │ │ ├── core.base_field_override.commerce_product_variation.clothes.status.yml │ │ │ ├── core.base_field_override.commerce_product_variation.clothes.title.yml │ │ │ ├── core.base_field_override.commerce_product_variation.clothes.uid.yml │ │ │ ├── core.entity_form_display.commerce_product.clothes.default.yml │ │ │ ├── core.entity_form_display.commerce_product_attribute_value.clothes_color.default.yml │ │ │ ├── core.entity_form_display.commerce_product_variation.clothes.default.yml │ │ │ ├── core.entity_view_display.commerce_product.clothes.default.yml │ │ │ ├── core.entity_view_display.commerce_product.clothes.teaser.yml │ │ │ ├── core.entity_view_display.commerce_product_attribute_value.clothes_color.default.yml │ │ │ ├── core.entity_view_display.commerce_product_variation.clothes.default.yml │ │ │ ├── field.field.commerce_product.clothes.body.yml │ │ │ ├── field.field.commerce_product_attribute_value.clothes_color.field_color.yml │ │ │ ├── field.field.commerce_product_variation.clothes.attribute_clothes_color.yml │ │ │ ├── field.field.commerce_product_variation.clothes.attribute_clothes_size.yml │ │ │ ├── field.field.commerce_product_variation.clothes.weight.yml │ │ │ ├── field.storage.commerce_product_attribute_value.field_color.yml │ │ │ ├── field.storage.commerce_product_variation.attribute_clothes_color.yml │ │ │ ├── field.storage.commerce_product_variation.attribute_clothes_size.yml │ │ │ ├── field.storage.commerce_product_variation.weight.yml │ │ │ ├── language.content_settings.commerce_product.clothes.yml │ │ │ ├── language.content_settings.commerce_product_attribute_value.clothes_color.yml │ │ │ ├── language.content_settings.commerce_product_attribute_value.clothes_size.yml │ │ │ └── language.content_settings.commerce_product_variation.clothes.yml │ ├── weeshop_product_type_clothes.features.yml │ └── weeshop_product_type_clothes.info.yml │ └── weeshop_service │ ├── config │ └── install │ │ ├── core.base_field_override.node.service.promote.yml │ │ ├── core.entity_form_display.node.service.default.yml │ │ ├── core.entity_view_display.node.service.default.yml │ │ ├── core.entity_view_display.node.service.teaser.yml │ │ ├── field.field.node.service.body.yml │ │ ├── field.field.node.service.field_image.yml │ │ ├── field.storage.node.field_image.yml │ │ ├── language.content_settings.node.service.yml │ │ └── node.type.service.yml │ ├── src │ └── Plugin │ │ └── Block │ │ └── ServiceBannerBlock.php │ ├── templates │ └── weeshop-service-banner-block.html.twig │ ├── weeshop_service.features.yml │ ├── weeshop_service.info.yml │ └── weeshop_service.module ├── weeshop.info.yml ├── weeshop.install ├── weeshop.libraries.yml ├── weeshop.links.menu.yml └── weeshop.profile /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea 3 | /data 4 | /data_* -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2021 WeeShop 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

WeeShop

2 | 3 |

An E-commerce web system that based on Drupal Commerce

4 | 5 | 6 |

WeeShop | QQ Group:714023327

7 | 8 | Thank you for watching: 9 | - Add stars to our GitHub repository. 10 | - [Create issue](https://github.com/weeshop/WeeShop/issues/new) to report any problem. 11 | 12 | 13 | ## 特性 14 | - 灵活的商品属性系统,可表达任意类型的商品,包括虚拟商品。 15 | - 支持多仓库存管理,也支持不需要库存管理的商品。 16 | - 灵活的结账过程,可以针对任意商品类型定制结账过程。 17 | - 支持全球的物流信息对接,支持国内各大快递公司。 18 | - 完备的多语言系统,支持全球100多种语言。 19 | - 支持全球流行的各种支付手段,Paypal、支付宝、微信、银行卡等。 20 | - 使用全文检索技术,可以选择使用各种流行的全文检索方案,如Apache solr等。 21 | - 支持符合工业标准的 RESTFul 接口,可配置多种认证方式HTTP Basic、Oauth2.0 等,轻松进行移动应用开发。 22 | 23 | ## 快速体验 24 | 25 | #### 创建 WeeShop 工程 26 | 27 | 本项目支持用 Composer 创建工程,使用下面的命令,会在当前目录下创建一个 `WeeShop` 目录,并在其中下载 WeeShop 相关的代码,包括它们的依赖: 28 | 29 | ```bash 30 | composer create-project weeshop/weeshop-project WeeShop --stability dev --no-interaction -vvv 31 | ``` 32 | 33 | 这条命令实际上是简单地下载 WeeShop 模板工程仓库 [weeshop/weeshop-project](https://github.com/weeshop/weeshop-project) 的代码, 34 | 并安装其所定义的 Composer 依赖,所以,实际上你也可以直接克隆该仓库,把它作为你新项目的起点。 35 | 36 | #### 使用 Docker 镜像运行代码 37 | 38 | 本项目提供了预置的 Docker 镜像,并编排到了模板工程根目录的 `docker-compose.yml` 中。 39 | 40 | 如果不希望使用 docker 快速安装,也可以参考 [通过传统的手工方式安装](https://www.weeshop.org/user_guide/install.html) 41 | 42 | 先决条件: 43 | - 确保本机 8080 端口没有被占用。这是因为 `docker-compose.yml` 中需要映射 Web 容器的 80 端口到物理机的 8080 端口。 44 | 45 | ```bash 46 | # 启动 docker 容器 47 | docker compose up -d 48 | ``` 49 | 50 | #### 安装方式一:使用图形界面 51 | 52 | 这时你可以访问 `http://localhost:8080`,打开图形安装界面根据提示输入信息进行安装: 53 | - 主机: db 54 | - 端口:3306 55 | - 用户:root 56 | - 密码:123 57 | - 数据库:weeshop 58 | 59 | 60 | #### 安装方式二:使用命令行 61 | 62 | 如果你喜欢用命令行的方式,你可以使用下面的命令行来安装 63 | 64 | ```bash 65 | # 进入 docker 容器 66 | docker compose exec web bash 67 | 68 | # 进入容器后,在容器内继续运行下面的命令 69 | chmod u+w /app/web/sites/default && \ 70 | cd /app && \ 71 | vendor/bin/drush site:install weeshop \ 72 | install_configure_form.enable_update_status_emails=NULL \ 73 | install_configure_form.demo_content=0 \ 74 | --db-url=mysql://root:123@db:3306/drupal \ 75 | --locale=en \ 76 | --site-name='WeeShop' \ 77 | --site-mail='164713332@qq.com' \ 78 | --site-pass=ekpass \ 79 | --account-name=admin \ 80 | --account-mail=164713332@qq.com \ 81 | --account-pass=ekpass 82 | vendor/bin/drush locale:check && \ 83 | vendor/bin/drush locale:update 84 | ``` 85 | 86 | 浏览器访问 `http://localhost:8080`,开始体验吧! 87 | 88 | #### 登录管理后台 89 | 90 | 安装完成后,通过 `http://localhost:8080/user/login` 登录后台。 91 | 92 | ## 重要 issues 93 | 94 | - 订单打印 [#2831952](https://www.drupal.org/project/commerce/issues/2831952) 95 | 96 | ## Modules pending for Drupal 10 upgrade 97 | Pending in dev branch: 98 | - adminimal_admin_toolbar 99 | 100 | Waiting: 101 | - migrate_manifest 102 | 103 | [粤ICP备18006542号-1](http://www.beian.miit.gov.cn) 104 | -------------------------------------------------------------------------------- /assets/css/style.css: -------------------------------------------------------------------------------- 1 | a#admin-logo { 2 | color: transparent; 3 | background-image: url(../image/logo.png); 4 | background-size: contain; 5 | background-repeat: no-repeat; 6 | background-position: center; 7 | margin: 0 10px; 8 | } 9 | -------------------------------------------------------------------------------- /assets/image/default_user_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weeshop/WeeShop/c18ff56cfc4a23beb95e1d7dddc2b7a4d9223840/assets/image/default_user_picture.png -------------------------------------------------------------------------------- /assets/image/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weeshop/WeeShop/c18ff56cfc4a23beb95e1d7dddc2b7a4d9223840/assets/image/logo.png -------------------------------------------------------------------------------- /assets/image/logo.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weeshop/WeeShop/c18ff56cfc4a23beb95e1d7dddc2b7a4d9223840/assets/image/logo.psd -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "weeshop/weeshop", 3 | "type": "drupal-profile", 4 | "description": "WeeShop 2.x installation profile", 5 | "homepage": "https://www.drupal.org/project/weeshop", 6 | "license": "GPL-2.0+", 7 | "minimum-stability": "dev", 8 | "prefer-stable": true, 9 | "require": { 10 | "drupal/commerce": "^2.0", 11 | "drupal/commerce_wishlist" : "^3.0", 12 | "drupal/commerce_shipping" : "^2.0", 13 | "drupal/admin_toolbar": "^3.0", 14 | "drupal/features": "^3.0", 15 | "drupal/facets": "^3.0", 16 | "drupal/search_api": "^1.0", 17 | "drupal/search_api_autocomplete": "^1.0", 18 | "drupal/paragraphs": "^1.0", 19 | "drupal/entity_usage": "^2.0", 20 | "drupal/entity_browser": "^2.0", 21 | "drupal/geysir": "^2.0", 22 | "drupal/tb_megamenu": "^3.0", 23 | "drupal/enhanced_product": "dev-8.x-1.x", 24 | "drupal/enhanced_store": "1.0.x-dev", 25 | "drupal/product_adverts": "dev-8.x-1.x", 26 | "drupal/weeshop_demo": "2.0.x-dev", 27 | "drupal/weeshop_molla": "1.0.x-dev", 28 | "drupal/weeshop_molla_supports": "1.0.x-dev", 29 | "drupal/commerce_currency_resolver": "^1.0", 30 | "drupal/color_field": "^3.0", 31 | "drupal/gin": "^3.0" 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /config/install/automated_cron.settings.yml: -------------------------------------------------------------------------------- 1 | interval: 10800 2 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_account_icon.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_account_icon 9 | theme: weeshop_molla 10 | region: header_middle_right 11 | weight: -4 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_account_icon 14 | settings: 15 | id: weeshop_molla_supports_molla_account_icon 16 | label: 'Molla account icon' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | foo: 'Hello world!' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_cart_icon.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_cart_icon 9 | theme: weeshop_molla 10 | region: header_middle_right 11 | weight: -2 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_cart_icon 14 | settings: 15 | id: weeshop_molla_supports_molla_cart_icon 16 | label: 'Molla cart icon' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | dropdown: '1' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_category_menu.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_category_menu 9 | theme: weeshop_molla 10 | region: header_bottom_left 11 | weight: -6 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_category_menu 14 | settings: 15 | id: weeshop_molla_supports_molla_category_menu 16 | label: 'Molla category menu' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | foo: 'Hello world!' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_currency_switcher.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_currency_switcher 9 | theme: weeshop_molla 10 | region: header_top_right 11 | weight: 0 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_currency_switcher 14 | settings: 15 | id: molla_currency_switcher 16 | label: 'Currency switcher' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | foo: 'Hello world!' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_header_search.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_header_search 9 | theme: weeshop_molla 10 | region: header_middle_center 11 | weight: 0 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_header_search 14 | settings: 15 | id: weeshop_molla_supports_molla_header_search 16 | label: 'Molla header search' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | foo: 'Hello world!' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_language_switcher_interface_text.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_language_switcher_interface_text 9 | theme: weeshop_molla 10 | region: header_top_right 11 | weight: 0 12 | provider: null 13 | plugin: 'weeshop_molla_supports_molla_language:language_interface' 14 | settings: 15 | id: 'molla_language_block:language_interface' 16 | label: 'Language switcher (Interface text)' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | visibility: { } 20 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_main_navigation.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - tb_megamenu 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_main_navigation 9 | theme: weeshop_molla 10 | region: header_bottom_center 11 | weight: 0 12 | provider: null 13 | plugin: 'tb_megamenu_menu_block:main' 14 | settings: 15 | id: 'tb_megamenu_menu_block:main' 16 | label: 'Main navigation' 17 | label_display: visible 18 | provider: tb_megamenu 19 | visibility: { } 20 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_mega_menu_gallery.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_mega_menu_gallery 9 | theme: weeshop_molla 10 | region: mega_menu 11 | weight: 0 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_mega_menu_gallery 14 | settings: 15 | id: weeshop_molla_supports_molla_mega_menu_gallery 16 | label: 'Molla mega_menu gallery' 17 | label_display: visible 18 | provider: weeshop_molla_supports 19 | gallery: {} 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_mobile_menu_toggle.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_mobile_menu_toggle 9 | theme: weeshop_molla 10 | region: header_middle_left 11 | weight: 0 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_mobile_menu_toggle 14 | settings: 15 | id: weeshop_molla_supports_molla_mobile_menu_toggle 16 | label: 'Molla mobile menu toggle' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | foo: 'Hello world!' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_promotion_slogan.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_promotion_slogan 9 | theme: weeshop_molla 10 | region: header_bottom_right 11 | weight: -5 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_promotion_slogan 14 | settings: 15 | id: weeshop_molla_supports_molla_promotion_slogan 16 | label: 'Molla promotion slogan' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | slogan: '

Clearance Up to 30% Off

' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_sign_in_up.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_sign_in_up 9 | theme: weeshop_molla 10 | region: header_top_right 11 | weight: 0 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_sign_in_up 14 | settings: 15 | id: weeshop_molla_supports_molla_sign_in_up 16 | label: 'Molla sign in up' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | foo: 'Hello world!' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_site_branding.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - system 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_site_branding 9 | theme: weeshop_molla 10 | region: header_middle_left 11 | weight: 0 12 | provider: null 13 | plugin: system_branding_block 14 | settings: 15 | id: system_branding_block 16 | label: 'Site branding' 17 | label_display: '0' 18 | provider: system 19 | use_site_logo: true 20 | use_site_name: false 21 | use_site_slogan: false 22 | visibility: { } 23 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_welcome_message.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_welcome_message 9 | theme: weeshop_molla 10 | region: header_top_left 11 | weight: 0 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_welcome_message 14 | settings: 15 | id: molla_welcome_message 16 | label: 'Welcome message' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | message: 'Special collection already available!' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block.block.weeshop_molla_wish_list_icon.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | module: 5 | - weeshop_molla_supports 6 | theme: 7 | - weeshop_molla 8 | id: weeshop_molla_wish_list_icon 9 | theme: weeshop_molla 10 | region: header_middle_right 11 | weight: -3 12 | provider: null 13 | plugin: weeshop_molla_supports_molla_wishlist_icon 14 | settings: 15 | id: weeshop_molla_supports_molla_wishlist_icon 16 | label: 'Molla wishlist icon' 17 | label_display: '0' 18 | provider: weeshop_molla_supports 19 | foo: 'Hello world!' 20 | visibility: { } 21 | -------------------------------------------------------------------------------- /config/install/block_content.type.basic.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: { } 4 | id: basic 5 | label: 'Basic block' 6 | revision: 0 7 | description: 'A basic block contains a title and a body.' 8 | -------------------------------------------------------------------------------- /config/install/comment.type.comment.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: { } 4 | id: comment 5 | label: 'Default comments' 6 | target_entity_type_id: node 7 | description: 'Allows commenting on content' 8 | -------------------------------------------------------------------------------- /config/install/commerce_currency_resolver.currency_mapping.yml: -------------------------------------------------------------------------------- 1 | domicile_currency: null 2 | logic: null 3 | matrix: { } 4 | -------------------------------------------------------------------------------- /config/install/commerce_currency_resolver.settings.yml: -------------------------------------------------------------------------------- 1 | currency_mapping: cookie 2 | currency_geo: null 3 | currency_source: combo 4 | currency_exchange_rates: european_central_bank 5 | currency_default: USD 6 | -------------------------------------------------------------------------------- /config/install/commerce_exchanger.commerce_exchange_rates.european_central_bank.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - commerce_exchanger.latest_exchange_rates.european_central_bank 6 | id: european_central_bank 7 | label: 'European Central Bank' 8 | plugin: ecb 9 | configuration: 10 | api_key: '' 11 | auth: 12 | username: '' 13 | password: '' 14 | cron: 1 15 | use_cross_sync: true 16 | base_currency: EUR 17 | demo_amount: 100 18 | mode: live 19 | enterprise: false 20 | manual: false 21 | refresh_once: false 22 | transform_rates: false 23 | -------------------------------------------------------------------------------- /config/install/commerce_exchanger.latest_exchange_rates.european_central_bank.yml: -------------------------------------------------------------------------------- 1 | rates: 2 | CNY: 3 | EUR: 4 | value: 0.137338 5 | sync: 0 6 | USD: 7 | value: 0.137874 8 | sync: 0 9 | EUR: 10 | USD: 11 | value: 1.0039 12 | sync: 0 13 | CNY: 14 | value: 7.2813 15 | sync: 0 16 | USD: 17 | EUR: 18 | value: 0.996115 19 | sync: 0 20 | CNY: 21 | value: 7.253012 22 | sync: 0 23 | -------------------------------------------------------------------------------- /config/install/contact.form.feedback.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: { } 4 | id: feedback 5 | label: 'Website feedback' 6 | recipients: 7 | - admin@example.com 8 | reply: '' 9 | weight: 0 10 | -------------------------------------------------------------------------------- /config/install/core.base_field_override.node.page.promote.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - node.type.page 6 | id: node.page.promote 7 | field_name: promote 8 | entity_type: node 9 | bundle: page 10 | label: 'Promoted to front page' 11 | description: '' 12 | required: false 13 | translatable: false 14 | default_value: 15 | - 16 | value: 0 17 | default_value_callback: '' 18 | settings: 19 | on_label: 'On' 20 | off_label: 'Off' 21 | field_type: boolean 22 | -------------------------------------------------------------------------------- /config/install/core.entity_form_display.block_content.basic.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - block_content.type.basic 6 | - field.field.block_content.basic.body 7 | module: 8 | - text 9 | id: block_content.basic.default 10 | targetEntityType: block_content 11 | bundle: basic 12 | mode: default 13 | content: 14 | body: 15 | type: text_textarea_with_summary 16 | weight: -4 17 | settings: 18 | rows: 9 19 | summary_rows: 3 20 | placeholder: '' 21 | third_party_settings: { } 22 | info: 23 | type: string_textfield 24 | weight: -5 25 | settings: 26 | size: 60 27 | placeholder: '' 28 | third_party_settings: { } 29 | hidden: { } 30 | -------------------------------------------------------------------------------- /config/install/core.entity_form_display.comment.comment.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - comment.type.comment 6 | - field.field.comment.comment.comment_body 7 | module: 8 | - text 9 | id: comment.comment.default 10 | targetEntityType: comment 11 | bundle: comment 12 | mode: default 13 | content: 14 | author: 15 | weight: -2 16 | comment_body: 17 | type: text_textarea 18 | weight: 11 19 | settings: 20 | rows: 5 21 | placeholder: '' 22 | third_party_settings: { } 23 | subject: 24 | type: string_textfield 25 | weight: 10 26 | settings: 27 | size: 60 28 | placeholder: '' 29 | third_party_settings: { } 30 | hidden: { } 31 | -------------------------------------------------------------------------------- /config/install/core.entity_form_display.node.article.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - field.field.node.article.body 6 | - field.field.node.article.comment 7 | - field.field.node.article.field_image 8 | - field.field.node.article.field_tags 9 | - node.type.article 10 | module: 11 | - comment 12 | - image 13 | - path 14 | - text 15 | id: node.article.default 16 | targetEntityType: node 17 | bundle: article 18 | mode: default 19 | content: 20 | body: 21 | type: text_textarea_with_summary 22 | weight: 1 23 | settings: 24 | rows: 9 25 | summary_rows: 3 26 | placeholder: '' 27 | third_party_settings: { } 28 | comment: 29 | type: comment_default 30 | weight: 20 31 | settings: { } 32 | third_party_settings: { } 33 | created: 34 | type: datetime_timestamp 35 | weight: 10 36 | settings: { } 37 | third_party_settings: { } 38 | field_image: 39 | type: image_image 40 | weight: 4 41 | settings: 42 | progress_indicator: throbber 43 | preview_image_style: thumbnail 44 | third_party_settings: { } 45 | field_tags: 46 | type: entity_reference_autocomplete_tags 47 | weight: 3 48 | settings: { } 49 | third_party_settings: { } 50 | path: 51 | type: path 52 | weight: 30 53 | settings: { } 54 | third_party_settings: { } 55 | promote: 56 | type: boolean_checkbox 57 | settings: 58 | display_label: true 59 | weight: 15 60 | third_party_settings: { } 61 | sticky: 62 | type: boolean_checkbox 63 | settings: 64 | display_label: true 65 | weight: 16 66 | third_party_settings: { } 67 | title: 68 | type: string_textfield 69 | weight: 0 70 | settings: 71 | size: 60 72 | placeholder: '' 73 | third_party_settings: { } 74 | uid: 75 | type: entity_reference_autocomplete 76 | weight: 5 77 | settings: 78 | match_operator: CONTAINS 79 | size: 60 80 | placeholder: '' 81 | third_party_settings: { } 82 | hidden: { } 83 | -------------------------------------------------------------------------------- /config/install/core.entity_form_display.node.page.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - field.field.node.page.body 6 | - node.type.page 7 | module: 8 | - path 9 | - text 10 | id: node.page.default 11 | targetEntityType: node 12 | bundle: page 13 | mode: default 14 | content: 15 | body: 16 | type: text_textarea_with_summary 17 | weight: 31 18 | settings: 19 | rows: 9 20 | summary_rows: 3 21 | placeholder: '' 22 | third_party_settings: { } 23 | created: 24 | type: datetime_timestamp 25 | weight: 10 26 | settings: { } 27 | third_party_settings: { } 28 | path: 29 | type: path 30 | weight: 30 31 | settings: { } 32 | third_party_settings: { } 33 | promote: 34 | type: boolean_checkbox 35 | settings: 36 | display_label: true 37 | weight: 15 38 | third_party_settings: { } 39 | sticky: 40 | type: boolean_checkbox 41 | settings: 42 | display_label: true 43 | weight: 16 44 | third_party_settings: { } 45 | title: 46 | type: string_textfield 47 | weight: -5 48 | settings: 49 | size: 60 50 | placeholder: '' 51 | third_party_settings: { } 52 | uid: 53 | type: entity_reference_autocomplete 54 | weight: 5 55 | settings: 56 | match_operator: CONTAINS 57 | size: 60 58 | placeholder: '' 59 | third_party_settings: { } 60 | hidden: { } 61 | -------------------------------------------------------------------------------- /config/install/core.entity_form_display.user.user.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - field.field.user.user.user_picture 6 | module: 7 | - image 8 | - user 9 | id: user.user.default 10 | targetEntityType: user 11 | bundle: user 12 | mode: default 13 | content: 14 | account: 15 | weight: -10 16 | contact: 17 | weight: 5 18 | language: 19 | weight: 0 20 | timezone: 21 | weight: 6 22 | user_picture: 23 | type: image_image 24 | settings: 25 | progress_indicator: throbber 26 | preview_image_style: thumbnail 27 | third_party_settings: { } 28 | weight: -1 29 | hidden: { } 30 | -------------------------------------------------------------------------------- /config/install/core.entity_view_display.block_content.basic.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - block_content.type.basic 6 | - field.field.block_content.basic.body 7 | module: 8 | - text 9 | id: block_content.basic.default 10 | targetEntityType: block_content 11 | bundle: basic 12 | mode: default 13 | content: 14 | body: 15 | label: hidden 16 | type: text_default 17 | weight: 0 18 | settings: { } 19 | third_party_settings: { } 20 | hidden: { } 21 | -------------------------------------------------------------------------------- /config/install/core.entity_view_display.comment.comment.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - comment.type.comment 6 | - field.field.comment.comment.comment_body 7 | module: 8 | - text 9 | id: comment.comment.default 10 | targetEntityType: comment 11 | bundle: comment 12 | mode: default 13 | content: 14 | comment_body: 15 | label: hidden 16 | type: text_default 17 | weight: 0 18 | settings: { } 19 | third_party_settings: { } 20 | links: 21 | weight: 100 22 | hidden: { } 23 | -------------------------------------------------------------------------------- /config/install/core.entity_view_display.node.article.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - field.field.node.article.body 6 | - field.field.node.article.comment 7 | - field.field.node.article.field_image 8 | - field.field.node.article.field_tags 9 | - node.type.article 10 | module: 11 | - comment 12 | - image 13 | - text 14 | - user 15 | id: node.article.default 16 | targetEntityType: node 17 | bundle: article 18 | mode: default 19 | content: 20 | body: 21 | type: text_default 22 | weight: 0 23 | settings: { } 24 | third_party_settings: { } 25 | label: hidden 26 | field_image: 27 | type: image 28 | weight: -1 29 | settings: 30 | image_style: large 31 | image_link: '' 32 | svg_attributes: 33 | width: 100 34 | height: 100 35 | third_party_settings: { } 36 | label: hidden 37 | field_tags: 38 | type: entity_reference_label 39 | weight: 10 40 | label: above 41 | settings: 42 | link: true 43 | third_party_settings: { } 44 | comment: 45 | label: above 46 | type: comment_default 47 | weight: 110 48 | settings: 49 | pager_id: 0 50 | third_party_settings: { } 51 | links: 52 | weight: 100 53 | hidden: 54 | field_image: true 55 | field_tags: true 56 | -------------------------------------------------------------------------------- /config/install/core.entity_view_display.node.article.rss.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - core.entity_view_mode.node.rss 6 | - field.field.node.article.body 7 | - field.field.node.article.comment 8 | - field.field.node.article.field_image 9 | - field.field.node.article.field_tags 10 | - node.type.article 11 | module: 12 | - user 13 | id: node.article.rss 14 | targetEntityType: node 15 | bundle: article 16 | mode: rss 17 | content: 18 | links: 19 | weight: 100 20 | hidden: 21 | body: true 22 | comment: true 23 | field_image: true 24 | field_tags: true 25 | -------------------------------------------------------------------------------- /config/install/core.entity_view_display.node.article.teaser.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - core.entity_view_mode.node.teaser 6 | - field.field.node.article.body 7 | - field.field.node.article.comment 8 | - field.field.node.article.field_image 9 | - field.field.node.article.field_tags 10 | - node.type.article 11 | module: 12 | - image 13 | - text 14 | - user 15 | id: node.article.teaser 16 | targetEntityType: node 17 | bundle: article 18 | mode: teaser 19 | content: 20 | body: 21 | type: text_summary_or_trimmed 22 | weight: 0 23 | settings: 24 | trim_length: 600 25 | third_party_settings: { } 26 | label: hidden 27 | field_image: 28 | type: image 29 | weight: -1 30 | settings: 31 | image_style: medium 32 | image_link: content 33 | svg_attributes: 34 | width: 100 35 | height: 100 36 | third_party_settings: { } 37 | label: hidden 38 | field_tags: 39 | type: entity_reference_label 40 | weight: 10 41 | settings: 42 | link: true 43 | third_party_settings: { } 44 | label: above 45 | links: 46 | weight: 100 47 | hidden: 48 | comment: true 49 | field_image: true 50 | field_tags: true 51 | -------------------------------------------------------------------------------- /config/install/core.entity_view_display.node.page.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - field.field.node.page.body 6 | - node.type.page 7 | module: 8 | - text 9 | - user 10 | id: node.page.default 11 | targetEntityType: node 12 | bundle: page 13 | mode: default 14 | content: 15 | body: 16 | label: hidden 17 | type: text_default 18 | weight: 100 19 | settings: { } 20 | third_party_settings: { } 21 | links: 22 | weight: 101 23 | hidden: { } 24 | -------------------------------------------------------------------------------- /config/install/core.entity_view_display.node.page.teaser.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - core.entity_view_mode.node.teaser 6 | - field.field.node.page.body 7 | - node.type.page 8 | module: 9 | - text 10 | - user 11 | id: node.page.teaser 12 | targetEntityType: node 13 | bundle: page 14 | mode: teaser 15 | content: 16 | body: 17 | label: hidden 18 | type: text_summary_or_trimmed 19 | weight: 100 20 | settings: 21 | trim_length: 600 22 | third_party_settings: { } 23 | links: 24 | weight: 101 25 | hidden: { } 26 | -------------------------------------------------------------------------------- /config/install/core.entity_view_display.user.user.compact.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - core.entity_view_mode.user.compact 6 | - field.field.user.user.user_picture 7 | module: 8 | - image 9 | - user 10 | id: user.user.compact 11 | targetEntityType: user 12 | bundle: user 13 | mode: compact 14 | content: 15 | user_picture: 16 | type: image 17 | weight: 0 18 | settings: 19 | image_style: thumbnail 20 | image_link: content 21 | svg_attributes: 22 | width: 100 23 | height: 100 24 | third_party_settings: { } 25 | label: hidden 26 | hidden: 27 | member_for: true 28 | -------------------------------------------------------------------------------- /config/install/core.entity_view_display.user.user.default.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - field.field.user.user.user_picture 6 | module: 7 | - image 8 | - user 9 | id: user.user.default 10 | targetEntityType: user 11 | bundle: user 12 | mode: default 13 | content: 14 | member_for: 15 | weight: 5 16 | user_picture: 17 | type: image 18 | weight: 0 19 | settings: 20 | image_style: thumbnail 21 | image_link: content 22 | svg_attributes: 23 | width: 100 24 | height: 100 25 | third_party_settings: { } 26 | label: hidden 27 | hidden: { } 28 | -------------------------------------------------------------------------------- /config/install/editor.editor.basic_html.yml: -------------------------------------------------------------------------------- 1 | langcode: en 2 | status: true 3 | dependencies: 4 | config: 5 | - filter.format.basic_html 6 | module: 7 | - ckeditor5 8 | format: basic_html 9 | editor: ckeditor5 10 | settings: 11 | toolbar: 12 | items: 13 | - bold 14 | - italic 15 | - '|' 16 | - link 17 | - '|' 18 | - bulletedList 19 | - numberedList 20 | - '|' 21 | - blockQuote 22 | - drupalInsertImage 23 | - '|' 24 | - heading 25 | - code 26 | - '|' 27 | - sourceEditing 28 | plugins: 29 | ckeditor5_heading: 30 | enabled_headings: 31 | - heading2 32 | - heading3 33 | - heading4 34 | - heading5 35 | - heading6 36 | ckeditor5_sourceEditing: 37 | allowed_tags: 38 | - '' 39 | - '
' 40 | - '
' 41 | - '
' 42 | - '' 43 | - '
' 44 | - '