improved production pages edit form

This commit is contained in:
Bachir Soussi Chiadmi
2018-01-23 21:51:11 +01:00
parent 0175b331ec
commit cd7dea45a9
4 changed files with 83 additions and 12 deletions
@@ -10,10 +10,73 @@ dependencies:
- image.style.thumbnail
- node.type.page
module:
- field_group
- file
- image
- path
- text
third_party_settings:
field_group:
group_tabs:
children:
- group_contenu
- group_media
- group_infos
parent_name: ''
weight: 1
format_type: tabs
format_settings:
id: ''
classes: ''
direction: horizontal
label: Tabs
region: content
group_contenu:
children:
- title
- body
parent_name: group_tabs
weight: 2
format_type: tab
format_settings:
id: ''
classes: ''
formatter: open
description: ''
required_fields: true
label: Contenu
region: content
group_media:
children:
- field_visuel
- field_son
parent_name: group_tabs
weight: 3
format_type: tab
format_settings:
id: ''
classes: ''
formatter: closed
description: ''
required_fields: true
label: media
region: content
group_infos:
children:
- field_page_type
- langcode
- status
parent_name: group_tabs
weight: 4
format_type: tab
format_settings:
id: ''
classes: ''
formatter: closed
description: ''
required_fields: true
label: infos
region: content
id: node.page.default
targetEntityType: node
bundle: page
@@ -21,7 +84,7 @@ mode: default
content:
body:
type: text_textarea_with_summary
weight: 4
weight: 2
settings:
rows: 9
summary_rows: 3
@@ -30,25 +93,25 @@ content:
region: content
created:
type: datetime_timestamp
weight: 7
weight: 3
region: content
settings: { }
third_party_settings: { }
field_page_type:
weight: 1
weight: 3
settings: { }
third_party_settings: { }
type: options_select
region: content
field_son:
weight: 3
weight: 2
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
field_visuel:
weight: 2
weight: 1
settings:
progress_indicator: throbber
preview_image_style: thumbnail
@@ -57,7 +120,7 @@ content:
region: content
langcode:
type: language_select
weight: 5
weight: 4
region: content
settings:
include_locked: true
@@ -72,7 +135,7 @@ content:
region: content
path:
type: path
weight: 10
weight: 6
region: content
settings: { }
third_party_settings: { }
@@ -80,34 +143,39 @@ content:
type: boolean_checkbox
settings:
display_label: true
weight: 8
weight: 5
region: content
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 11
weight: 5
third_party_settings: { }
region: content
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 9
weight: 4
region: content
third_party_settings: { }
title:
type: string_textfield
weight: 0
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
translation:
weight: 7
region: content
settings: { }
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 6
weight: 2
settings:
match_operator: CONTAINS
size: 60
@@ -58,6 +58,7 @@ module:
options: 0
page_cache: 0
path: 0
permissions_filter: 0
profile: 0
redis: 0
responsive_image: 0
@@ -11,6 +11,7 @@ permissions:
- 'access files overview'
- 'access toolbar'
- 'access user profiles'
- 'administer nodes'
- 'administer productions menu items'
- 'administer users'
- 'change own username'
@@ -135,6 +135,7 @@ permissions:
- 'switch users'
- 'synchronize configuration'
- 'translate any entity'
- 'translate enregistrement node'
- 'translate fil node'
- 'translate interface'
- 'translate page node'