Преглед изворни кода

added custom block footer social net work

bach пре 3 година
родитељ
комит
863593ab92

+ 34 - 0
config/sync/block.block.retrouveznoussurlesreseauxsociaux.yml

@@ -0,0 +1,34 @@
+uuid: 9634fb72-8570-44e0-a6a1-4e74df671c17
+langcode: fr
+status: true
+dependencies:
+  content:
+    - 'block_content:custom:e0c66a5a-bc7a-4f4a-b6f1-7bec4b77ad78'
+  module:
+    - block_content
+    - context
+  theme:
+    - popsu
+id: retrouveznoussurlesreseauxsociaux
+theme: popsu
+region: footer_bottom_right
+weight: 0
+provider: null
+plugin: 'block_content:e0c66a5a-bc7a-4f4a-b6f1-7bec4b77ad78'
+settings:
+  id: 'block_content:e0c66a5a-bc7a-4f4a-b6f1-7bec4b77ad78'
+  label: 'Retrouvez-nous sur les réseaux sociaux :'
+  provider: block_content
+  label_display: visible
+  status: true
+  info: ''
+  view_mode: full
+visibility:
+  view_inclusion:
+    id: view_inclusion
+    negate: null
+    view_inclusion: {  }
+  request_path_exclusion:
+    id: request_path_exclusion
+    pages: ''
+    negate: null

+ 8 - 0
config/sync/block_content.type.custom.yml

@@ -0,0 +1,8 @@
+uuid: 2643355a-fcc5-4b0a-9aec-5323247eb135
+langcode: fr
+status: true
+dependencies: {  }
+id: custom
+label: custom
+revision: 0
+description: ''

+ 40 - 0
config/sync/core.entity_form_display.block_content.custom.default.yml

@@ -0,0 +1,40 @@
+uuid: 8a3be2a5-dc9e-4311-8094-a2b89eb284f0
+langcode: fr
+status: true
+dependencies:
+  config:
+    - block_content.type.custom
+    - field.field.block_content.custom.body
+  module:
+    - text
+id: block_content.custom.default
+targetEntityType: block_content
+bundle: custom
+mode: default
+content:
+  body:
+    type: text_textarea_with_summary
+    weight: 26
+    settings:
+      rows: 9
+      summary_rows: 3
+      placeholder: ''
+      show_summary: false
+    third_party_settings: {  }
+    region: content
+  info:
+    type: string_textfield
+    weight: -5
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  langcode:
+    type: language_select
+    weight: 2
+    region: content
+    settings:
+      include_locked: true
+    third_party_settings: {  }
+hidden: {  }

+ 24 - 0
config/sync/core.entity_view_display.block_content.custom.default.yml

@@ -0,0 +1,24 @@
+uuid: c3abb815-bda9-4f19-8e2c-b49f652aa36c
+langcode: fr
+status: true
+dependencies:
+  config:
+    - block_content.type.custom
+    - field.field.block_content.custom.body
+  module:
+    - text
+id: block_content.custom.default
+targetEntityType: block_content
+bundle: custom
+mode: default
+content:
+  body:
+    label: hidden
+    type: text_default
+    weight: 0
+    settings: {  }
+    third_party_settings: {  }
+    region: content
+hidden:
+  langcode: true
+  search_api_excerpt: true

+ 23 - 0
config/sync/field.field.block_content.custom.body.yml

@@ -0,0 +1,23 @@
+uuid: a2ad88f8-4f1d-4c09-939c-76e0ead29e6b
+langcode: fr
+status: true
+dependencies:
+  config:
+    - block_content.type.custom
+    - field.storage.block_content.body
+  module:
+    - text
+id: block_content.custom.body
+field_name: body
+entity_type: block_content
+bundle: custom
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings:
+  display_summary: false
+  required_summary: false
+field_type: text_with_summary

+ 11 - 0
config/sync/language.content_settings.block_content.custom.yml

@@ -0,0 +1,11 @@
+uuid: 9c2b21bf-e8ca-4e7b-8b98-d5a874108930
+langcode: fr
+status: true
+dependencies:
+  config:
+    - block_content.type.custom
+id: block_content.custom
+target_entity_type_id: block_content
+target_bundle: custom
+default_langcode: site_default
+language_alterable: false

+ 15 - 0
config/sync/structure_sync.data.yml

@@ -47,3 +47,18 @@ menus:
     weight: '0'
     langcode: fr
     uuid: 7249712f-fe65-40d3-a8ee-8047420bc88a
+log: 1
+blocks:
+  -
+    info: 'Retrouvez-nous sur les réseaux sociaux :'
+    langcode: fr
+    uuid: e0c66a5a-bc7a-4f4a-b6f1-7bec4b77ad78
+    bundle: custom
+    revision_id: null
+    rev_id_current: null
+    fields:
+      body:
+        -
+          value: "<p><a href=\"https://twitter.com\">https://twitter.com</a></p>\r\n\r\n<p><a href=\"https://fr.linkedin.com/\">https://fr.linkedin.com/</a></p>\r\n\r\n<p><a href=\"https://youtube.fr\">https://youtube.fr</a></p>\r\n"
+          summary: ''
+          format: wysiwyg