Explorar el Código

thesaurus hierarchical_select replace taxonomy_term_tree

bach hace 2 meses
padre
commit
49565d70f6

+ 9 - 7
config/sync/core.entity_form_display.node.materiau.default.yml

@@ -26,12 +26,12 @@ dependencies:
     - node.type.materiau
   module:
     - computed_field
+    - cshs
     - field_group
     - file
     - image
     - materio_samples
     - path
-    - term_reference_tree
     - text
     - video_embed_field
 third_party_settings:
@@ -306,15 +306,17 @@ content:
       placeholder: ''
     third_party_settings: {  }
   field_thesaurus:
-    type: term_reference_tree
+    type: cshs
     weight: 11
     region: content
     settings:
-      start_minimized: true
-      leaves_only: false
-      select_parents: false
-      cascading_selection: 0
-      max_depth: 0
+      save_lineage: false
+      force_deepest: false
+      parent: null
+      level_labels: ''
+      hierarchy_depth: 0
+      required_depth: 0
+      none_label: '- Please select -'
     third_party_settings: {  }
   field_video:
     type: video_embed_field_textfield