Browse Source

improved assisted research admin ui

Bachir Soussi Chiadmi 3 years ago
parent
commit
45d9b7cefb

+ 56 - 17
config/sync/core.entity_form_display.taxonomy_term.assisted_research.default.yml

@@ -6,23 +6,61 @@ dependencies:
     - field.field.taxonomy_term.assisted_research.field_terms
     - taxonomy.vocabulary.assisted_research
   module:
+    - field_group
     - path
-    - text
+third_party_settings:
+  field_group:
+    group_tabs:
+      children:
+        - group_list
+        - group_admin
+      parent_name: ''
+      weight: 1
+      format_type: tabs
+      region: content
+      format_settings:
+        id: ''
+        classes: ''
+        direction: horizontal
+      label: tabs
+    group_list:
+      children:
+        - field_terms
+      parent_name: group_tabs
+      weight: 8
+      format_type: tab
+      region: content
+      format_settings:
+        id: ''
+        classes: ''
+        description: ''
+        formatter: open
+        required_fields: true
+      label: List
+    group_admin:
+      children:
+        - langcode
+        - translation
+        - status
+        - path
+      parent_name: group_tabs
+      weight: 9
+      format_type: tab
+      region: content
+      format_settings:
+        id: ''
+        classes: ''
+        description: ''
+        formatter: closed
+        required_fields: true
+      label: admin
 id: taxonomy_term.assisted_research.default
 targetEntityType: taxonomy_term
 bundle: assisted_research
 mode: default
 content:
-  description:
-    type: text_textfield
-    weight: 0
-    region: content
-    settings:
-      size: 60
-      placeholder: ''
-    third_party_settings: {  }
   field_terms:
-    weight: 101
+    weight: 2
     settings:
       match_operator: CONTAINS
       match_limit: 10
@@ -33,14 +71,14 @@ content:
     region: content
   langcode:
     type: language_select
-    weight: 2
+    weight: 3
     region: content
     settings:
       include_locked: true
     third_party_settings: {  }
   name:
     type: string_textfield
-    weight: -5
+    weight: 0
     region: content
     settings:
       size: 60
@@ -48,7 +86,7 @@ content:
     third_party_settings: {  }
   path:
     type: path
-    weight: 30
+    weight: 6
     region: content
     settings: {  }
     third_party_settings: {  }
@@ -56,12 +94,13 @@ content:
     type: boolean_checkbox
     settings:
       display_label: true
-    weight: 100
+    weight: 5
     region: content
     third_party_settings: {  }
   translation:
-    weight: 10
+    weight: 4
+    region: content
     settings: {  }
     third_party_settings: {  }
-    region: content
-hidden: {  }
+hidden:
+  description: true