Browse Source

fixed static pages form display

Bachir Soussi Chiadmi 7 years ago
parent
commit
e7487b936f

+ 55 - 43
sites/default/config/sync/core.entity_form_display.node.static.default.yml

@@ -9,10 +9,56 @@ dependencies:
     - image.style.thumbnail
     - node.type.static
   module:
+    - field_group
     - image
-    - path
     - text
     - workflow
+third_party_settings:
+  field_group:
+    group_tabs:
+      children:
+        - group_contenus
+        - group_infos
+      parent_name: ''
+      weight: 5
+      format_type: tabs
+      format_settings:
+        label: Tabs
+        direction: horizontal
+        id: ''
+        classes: ''
+      label: Tabs
+      region: content
+    group_contenus:
+      children:
+        - field_visuel
+        - body
+      parent_name: group_tabs
+      weight: 13
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+      label: contenus
+      region: content
+    group_infos:
+      children:
+        - langcode
+        - field_workflow_generic
+      parent_name: group_tabs
+      weight: 14
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+      label: infos
+      region: content
 id: node.static.default
 targetEntityType: node
 bundle: static
@@ -20,19 +66,13 @@ mode: default
 content:
   body:
     type: text_textarea_with_summary
-    weight: 2
+    weight: 4
     settings:
       rows: 9
       summary_rows: 3
       placeholder: ''
     third_party_settings: {  }
     region: content
-  created:
-    type: datetime_timestamp
-    weight: 6
-    region: content
-    settings: {  }
-    third_party_settings: {  }
   field_visuel:
     weight: 3
     settings:
@@ -42,7 +82,7 @@ content:
     type: image_image
     region: content
   field_workflow_generic:
-    weight: 4
+    weight: 2
     settings: {  }
     third_party_settings: {  }
     type: workflow_default
@@ -54,26 +94,6 @@ content:
     settings:
       include_locked: true
     third_party_settings: {  }
-  path:
-    type: path
-    weight: 10
-    region: content
-    settings: {  }
-    third_party_settings: {  }
-  promote:
-    type: boolean_checkbox
-    settings:
-      display_label: true
-    weight: 8
-    region: content
-    third_party_settings: {  }
-  sticky:
-    type: boolean_checkbox
-    settings:
-      display_label: true
-    weight: 9
-    region: content
-    third_party_settings: {  }
   title:
     type: string_textfield
     weight: 0
@@ -82,19 +102,11 @@ content:
       size: 60
       placeholder: ''
     third_party_settings: {  }
-  translation:
-    weight: 7
-    region: content
-    settings: {  }
-    third_party_settings: {  }
-  uid:
-    type: entity_reference_autocomplete
-    weight: 5
-    settings:
-      match_operator: CONTAINS
-      size: 60
-      placeholder: ''
-    region: content
-    third_party_settings: {  }
 hidden:
+  created: true
+  path: true
+  promote: true
   status: true
+  sticky: true
+  translation: true
+  uid: true