Bladeren bron

added field_description to new product_variation_type

bach 3 jaren geleden
bovenliggende
commit
f10cfd76f4

+ 15 - 0
config/sync/core.entity_form_display.commerce_product_variation.materio_product_licence_variatio.default.yml

@@ -4,16 +4,26 @@ status: true
 dependencies:
   config:
     - commerce_product.commerce_product_variation_type.materio_product_licence_variatio
+    - field.field.commerce_product_variation.materio_product_licence_variatio.field_description
     - field.field.commerce_product_variation.materio_product_licence_variatio.license_expiration
     - field.field.commerce_product_variation.materio_product_licence_variatio.license_type
   module:
     - commerce
     - commerce_price
+    - text
 id: commerce_product_variation.materio_product_licence_variatio.default
 targetEntityType: commerce_product_variation
 bundle: materio_product_licence_variatio
 mode: default
 content:
+  field_description:
+    type: text_textarea
+    weight: 91
+    region: content
+    settings:
+      rows: 5
+      placeholder: ''
+    third_party_settings: {  }
   langcode:
     type: language_select
     weight: 2
@@ -68,6 +78,11 @@ content:
       size: 60
       placeholder: ''
     third_party_settings: {  }
+  translation:
+    weight: 10
+    region: content
+    settings: {  }
+    third_party_settings: {  }
 hidden:
   created: true
   uid: true

+ 52 - 0
config/sync/core.entity_view_display.commerce_product_variation.materio_product_licence_variatio.default.yml

@@ -0,0 +1,52 @@
+uuid: 174638ea-39a5-4280-b458-c535caf145e8
+langcode: en
+status: true
+dependencies:
+  config:
+    - commerce_product.commerce_product_variation_type.materio_product_licence_variatio
+    - field.field.commerce_product_variation.materio_product_licence_variatio.field_description
+    - field.field.commerce_product_variation.materio_product_licence_variatio.license_expiration
+    - field.field.commerce_product_variation.materio_product_licence_variatio.license_type
+  module:
+    - commerce_price
+    - text
+id: commerce_product_variation.materio_product_licence_variatio.default
+targetEntityType: commerce_product_variation
+bundle: materio_product_licence_variatio
+mode: default
+content:
+  field_description:
+    type: text_default
+    label: above
+    settings: {  }
+    third_party_settings: {  }
+    weight: 1
+    region: content
+  list_price:
+    type: commerce_price_default
+    label: above
+    settings:
+      strip_trailing_zeroes: false
+      currency_display: symbol
+    third_party_settings: {  }
+    weight: -1
+    region: content
+  price:
+    type: commerce_price_default
+    label: above
+    settings:
+      strip_trailing_zeroes: false
+      currency_display: symbol
+    third_party_settings: {  }
+    weight: 0
+    region: content
+hidden:
+  commerce_variation_cart_form: true
+  langcode: true
+  license_expiration: true
+  license_type: true
+  product_id: true
+  search_api_excerpt: true
+  sku: true
+  synonyms: true
+  title: true

+ 29 - 0
config/sync/field.field.commerce_product_variation.materio_product_licence_variatio.field_description.yml

@@ -0,0 +1,29 @@
+uuid: fe670622-2130-4f22-abb8-1cc77f76ac41
+langcode: en
+status: true
+dependencies:
+  config:
+    - commerce_product.commerce_product_variation_type.materio_product_licence_variatio
+    - field.storage.commerce_product_variation.field_description
+  module:
+    - allowed_formats
+    - text
+    - unique_content_field_validation
+third_party_settings:
+  unique_content_field_validation:
+    unique: false
+    unique_text: ''
+  allowed_formats:
+    allowed_formats: {  }
+id: commerce_product_variation.materio_product_licence_variatio.field_description
+field_name: field_description
+entity_type: commerce_product_variation
+bundle: materio_product_licence_variatio
+label: Description
+description: ''
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: text_long

+ 4 - 0
config/sync/field.storage.commerce_product_variation.field_description.yml

@@ -4,7 +4,11 @@ status: true
 dependencies:
   module:
     - commerce_product
+    - field_permissions
     - text
+third_party_settings:
+  field_permissions:
+    permission_type: public
 id: commerce_product_variation.field_description
 field_name: field_description
 entity_type: commerce_product_variation

+ 20 - 0
config/sync/gdpr_fields.gdpr_fields_config.commerce_product_variation.yml

@@ -0,0 +1,20 @@
+uuid: 765cfbd4-626d-4d54-9f56-72541b0077d1
+langcode: en
+status: true
+dependencies: {  }
+id: commerce_product_variation
+filenames:
+  materio_product_licence_variatio: ''
+bundles:
+  materio_product_licence_variatio:
+    field_description:
+      bundle: materio_product_licence_variatio
+      name: field_description
+      enabled: false
+      rta: 'no'
+      rtf: 'no'
+      anonymizer: ''
+      notes: ''
+      relationship: 0
+      sars_filename: ''
+      entity_type_id: commerce_product_variation