bach 1 gadu atpakaļ
vecāks
revīzija
22ad70389b

+ 1 - 1
config/sync/advanced_email_validation.settings.yml

@@ -4,7 +4,7 @@ langcode: fr
 override_site_defaults: false
 rules:
   mx_lookup: mx_lookup
-  disposable: '0'
+  disposable: disposable
   free: '0'
   banned: '0'
 error_messages:

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

@@ -0,0 +1,8 @@
+uuid: e8b72363-6670-4430-92ad-354c6b3079ea
+langcode: fr
+status: true
+dependencies: {  }
+id: file_link
+label: 'File link'
+revision: 0
+description: ''

+ 26 - 0
config/sync/content_as_config.block_content.yml

@@ -84,3 +84,29 @@ bc48e271-75cf-4c3f-a4aa-ecc3c573c060:
         uri: 'internal:/node/5'
         title: 'Voir la fiche candidature'
         options: {  }
+08189a6a-2ca1-42c3-a780-d7ad0c65619d:
+  uuid: 08189a6a-2ca1-42c3-a780-d7ad0c65619d
+  id: '9'
+  info: 'Cachier des charges'
+  langcode: fr
+  type: file_link
+  reusable: '1'
+  fields:
+    field_fichier:
+      -
+        target_id: '11'
+        display: '1'
+        description: 'Télécharger le cahier des charges'
+259faa3e-f66e-4776-9f4e-9a3aa26e8252:
+  uuid: 259faa3e-f66e-4776-9f4e-9a3aa26e8252
+  id: '10'
+  info: 'Fiche candidature'
+  langcode: fr
+  type: file_link
+  reusable: '1'
+  fields:
+    field_fichier:
+      -
+        target_id: '12'
+        display: '1'
+        description: 'Télécharger la fiche candidature'

+ 31 - 0
config/sync/core.entity_form_display.block_content.file_link.default.yml

@@ -0,0 +1,31 @@
+uuid: 9f8cbd66-a0b1-416f-96fb-628eedbb495d
+langcode: fr
+status: true
+dependencies:
+  config:
+    - block_content.type.file_link
+    - field.field.block_content.file_link.field_fichier
+  module:
+    - file
+id: block_content.file_link.default
+targetEntityType: block_content
+bundle: file_link
+mode: default
+content:
+  field_fichier:
+    type: file_generic
+    weight: 1
+    region: content
+    settings:
+      progress_indicator: throbber
+    third_party_settings: {  }
+  info:
+    type: string_textfield
+    weight: 0
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+hidden:
+  langcode: true

+ 34 - 0
config/sync/core.entity_view_display.block_content.file_link.default.yml

@@ -0,0 +1,34 @@
+uuid: 63343056-f327-4a0d-b1c6-42aae5886994
+langcode: fr
+status: true
+dependencies:
+  config:
+    - block_content.type.file_link
+    - field.field.block_content.file_link.field_fichier
+  module:
+    - formatter_suite
+id: block_content.file_link.default
+targetEntityType: block_content
+bundle: file_link
+mode: default
+content:
+  field_fichier:
+    type: formatter_suite_general_file_link
+    label: visually_hidden
+    settings:
+      titleStyle: text_from_link
+      titleCustomText: ''
+      classes: ''
+      showLink: '1'
+      openLinkIn: download
+      linkTopic: any
+      showSize: 0
+      showIcon: 0
+      listStyle: span
+      listSeparator: ', '
+    third_party_settings: {  }
+    weight: 0
+    region: content
+hidden:
+  langcode: true
+  search_api_excerpt: true

+ 27 - 0
config/sync/field.field.block_content.file_link.field_fichier.yml

@@ -0,0 +1,27 @@
+uuid: fc85fc2d-dfde-4224-9370-b86b6564e578
+langcode: fr
+status: true
+dependencies:
+  config:
+    - block_content.type.file_link
+    - field.storage.block_content.field_fichier
+  module:
+    - file
+id: block_content.file_link.field_fichier
+field_name: field_fichier
+entity_type: block_content
+bundle: file_link
+label: Fichier
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:file'
+  handler_settings: {  }
+  file_directory: file_link_block
+  file_extensions: pdf
+  max_filesize: ''
+  description_field: true
+field_type: file

+ 23 - 0
config/sync/field.storage.block_content.field_fichier.yml

@@ -0,0 +1,23 @@
+uuid: 5340e8a5-3c82-4028-a88d-54f07ec21b80
+langcode: fr
+status: true
+dependencies:
+  module:
+    - block_content
+    - file
+id: block_content.field_fichier
+field_name: field_fichier
+entity_type: block_content
+type: file
+settings:
+  target_type: file
+  display_field: false
+  display_default: false
+  uri_scheme: public
+module: file
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

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

@@ -0,0 +1,11 @@
+uuid: 8418948c-e0fd-458f-8d99-15738e5ebebc
+langcode: fr
+status: true
+dependencies:
+  config:
+    - block_content.type.file_link
+id: block_content.file_link
+target_entity_type_id: block_content
+target_bundle: file_link
+default_langcode: site_default
+language_alterable: false

+ 11 - 11
config/sync/page_manager.page_variant.home-panels_variant-0.yml

@@ -6,8 +6,8 @@ dependencies:
     - page_manager.page.home
     - views.view.home
   content:
-    - 'block_content:node_link:1ca95211-9fa2-4ef2-a460-8184d1eaf20f'
-    - 'block_content:node_link:1dd151e8-8a8b-4586-9e62-8905ba0c93e0'
+    - 'block_content:file_link:08189a6a-2ca1-42c3-a780-d7ad0c65619d'
+    - 'block_content:file_link:259faa3e-f66e-4776-9f4e-9a3aa26e8252'
   module:
     - block_content
     - panels
@@ -46,9 +46,9 @@ variant_settings:
       region: content
       weight: 2
       uuid: 2335ebb2-2264-44b5-abfb-a0b7a925ff8f
-    09241090-e75c-452c-b169-a7d78b57650e:
-      id: 'block_content:1ca95211-9fa2-4ef2-a460-8184d1eaf20f'
-      label: 'Cahier des charges P1'
+    e90f5dc4-5bd5-443b-9356-a80eb812b503:
+      id: 'block_content:08189a6a-2ca1-42c3-a780-d7ad0c65619d'
+      label: 'Cachier des charges'
       label_display: '0'
       provider: block_content
       status: true
@@ -57,10 +57,10 @@ variant_settings:
       context_mapping: {  }
       region: content
       weight: 0
-      uuid: 09241090-e75c-452c-b169-a7d78b57650e
-    366eef03-4014-46f7-9a07-988feb447ae2:
-      id: 'block_content:1dd151e8-8a8b-4586-9e62-8905ba0c93e0'
-      label: 'Fiche Candidature P1'
+      uuid: e90f5dc4-5bd5-443b-9356-a80eb812b503
+    f8454c70-66dd-496c-b685-b2408111317e:
+      id: 'block_content:259faa3e-f66e-4776-9f4e-9a3aa26e8252'
+      label: 'Fiche candidature'
       label_display: '0'
       provider: block_content
       status: true
@@ -68,8 +68,8 @@ variant_settings:
       view_mode: full
       context_mapping: {  }
       region: content
-      weight: 1
-      uuid: 366eef03-4014-46f7-9a07-988feb447ae2
+      weight: 0
+      uuid: f8454c70-66dd-496c-b685-b2408111317e
   page_title: ''
   layout: layout_onecol
   layout_settings: