Procházet zdrojové kódy

#2148 switched recit colophon to real textarea field

bach před 1 rokem
rodič
revize
ca8426acae

+ 11 - 0
src/config/sync/core.entity_form_display.node.concernement.default.yml

@@ -11,6 +11,7 @@ dependencies:
     - field.field.node.concernement.field_entite
     - field.field.node.concernement.field_lieu
     - field.field.node.concernement.field_recit
+    - field.field.node.concernement.field_recit_colophon
     - node.type.concernement
   module:
     - advanced_text_formatter
@@ -19,6 +20,7 @@ dependencies:
     - inline_entity_form
     - maxlength
     - paragraphs
+    - text
     - workflow
 third_party_settings:
   field_group:
@@ -77,6 +79,7 @@ third_party_settings:
     group_recit:
       children:
         - field_recit
+        - field_recit_colophon
       label: Récit
       region: content
       parent_name: group_tabs
@@ -241,6 +244,14 @@ content:
     settings:
       progress_indicator: throbber
     third_party_settings: {  }
+  field_recit_colophon:
+    type: text_textarea
+    weight: 4
+    region: content
+    settings:
+      rows: 5
+      placeholder: ''
+    third_party_settings: {  }
   title:
     type: string_textfield
     weight: 0

+ 2 - 0
src/config/sync/core.entity_view_display.node.concernement.conecernement_on_reponse_form.yml

@@ -12,6 +12,7 @@ dependencies:
     - field.field.node.concernement.field_entite
     - field.field.node.concernement.field_lieu
     - field.field.node.concernement.field_recit
+    - field.field.node.concernement.field_recit_colophon
     - node.type.concernement
   module:
     - manage_display
@@ -39,6 +40,7 @@ hidden:
   field_entite: true
   field_lieu: true
   field_recit: true
+  field_recit_colophon: true
   langcode: true
   links: true
   search_api_excerpt: true

+ 9 - 0
src/config/sync/core.entity_view_display.node.concernement.default.yml

@@ -11,12 +11,14 @@ dependencies:
     - field.field.node.concernement.field_entite
     - field.field.node.concernement.field_lieu
     - field.field.node.concernement.field_recit
+    - field.field.node.concernement.field_recit_colophon
     - node.type.concernement
   module:
     - entity_reference_revisions
     - file
     - manage_display
     - options
+    - text
 id: node.concernement.default
 targetEntityType: node
 bundle: concernement
@@ -84,6 +86,13 @@ content:
     third_party_settings: {  }
     weight: 103
     region: content
+  field_recit_colophon:
+    type: text_default
+    label: above
+    settings: {  }
+    third_party_settings: {  }
+    weight: 112
+    region: content
   links:
     settings: {  }
     third_party_settings: {  }

+ 2 - 0
src/config/sync/core.entity_view_display.node.concernement.teaser.yml

@@ -12,6 +12,7 @@ dependencies:
     - field.field.node.concernement.field_entite
     - field.field.node.concernement.field_lieu
     - field.field.node.concernement.field_recit
+    - field.field.node.concernement.field_recit_colophon
     - node.type.concernement
   module:
     - manage_display
@@ -44,6 +45,7 @@ hidden:
   field_entite: true
   field_lieu: true
   field_recit: true
+  field_recit_colophon: true
   langcode: true
   search_api_excerpt: true
   uid: true

+ 1 - 1
src/config/sync/field.field.node.concernement.field_recit.yml

@@ -23,5 +23,5 @@ settings:
   file_directory: '[date:custom:Y]-[date:custom:m]'
   file_extensions: 'ogg mp3'
   max_filesize: ''
-  description_field: true
+  description_field: false
 field_type: file

+ 26 - 0
src/config/sync/field.field.node.concernement.field_recit_colophon.yml

@@ -0,0 +1,26 @@
+uuid: 854ca396-6929-4dfb-b38f-ef8e6da5ad8b
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_recit_colophon
+    - node.type.concernement
+  module:
+    - allowed_formats
+    - text
+third_party_settings:
+  allowed_formats:
+    allowed_formats:
+      - linkonly
+id: node.concernement.field_recit_colophon
+field_name: field_recit_colophon
+entity_type: node
+bundle: concernement
+label: 'recit colophon'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: text_long

+ 19 - 0
src/config/sync/field.storage.node.field_recit_colophon.yml

@@ -0,0 +1,19 @@
+uuid: 33b42019-3af5-4a0e-aaa5-e5680240554b
+langcode: fr
+status: true
+dependencies:
+  module:
+    - node
+    - text
+id: node.field_recit_colophon
+field_name: field_recit_colophon
+entity_type: node
+type: text_long
+settings: {  }
+module: text
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false