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 - image.style.thumbnail
- node.type.page - node.type.page
module: module:
- field_group
- file - file
- image - image
- path - path
- text - 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 id: node.page.default
targetEntityType: node targetEntityType: node
bundle: page bundle: page
@@ -21,7 +84,7 @@ mode: default
content: content:
body: body:
type: text_textarea_with_summary type: text_textarea_with_summary
weight: 4 weight: 2
settings: settings:
rows: 9 rows: 9
summary_rows: 3 summary_rows: 3
@@ -30,25 +93,25 @@ content:
region: content region: content
created: created:
type: datetime_timestamp type: datetime_timestamp
weight: 7 weight: 3
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_page_type: field_page_type:
weight: 1 weight: 3
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select type: options_select
region: content region: content
field_son: field_son:
weight: 3 weight: 2
settings: settings:
progress_indicator: throbber progress_indicator: throbber
third_party_settings: { } third_party_settings: { }
type: file_generic type: file_generic
region: content region: content
field_visuel: field_visuel:
weight: 2 weight: 1
settings: settings:
progress_indicator: throbber progress_indicator: throbber
preview_image_style: thumbnail preview_image_style: thumbnail
@@ -57,7 +120,7 @@ content:
region: content region: content
langcode: langcode:
type: language_select type: language_select
weight: 5 weight: 4
region: content region: content
settings: settings:
include_locked: true include_locked: true
@@ -72,7 +135,7 @@ content:
region: content region: content
path: path:
type: path type: path
weight: 10 weight: 6
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
@@ -80,34 +143,39 @@ content:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 8 weight: 5
region: content region: content
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 11 weight: 5
third_party_settings: { } third_party_settings: { }
region: content region: content
sticky: sticky:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 9 weight: 4
region: content region: content
third_party_settings: { } third_party_settings: { }
title: title:
type: string_textfield type: string_textfield
weight: 0 weight: 1
region: content region: content
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
translation:
weight: 7
region: content
settings: { }
third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 6 weight: 2
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
size: 60 size: 60
@@ -58,6 +58,7 @@ module:
options: 0 options: 0
page_cache: 0 page_cache: 0
path: 0 path: 0
permissions_filter: 0
profile: 0 profile: 0
redis: 0 redis: 0
responsive_image: 0 responsive_image: 0
@@ -11,6 +11,7 @@ permissions:
- 'access files overview' - 'access files overview'
- 'access toolbar' - 'access toolbar'
- 'access user profiles' - 'access user profiles'
- 'administer nodes'
- 'administer productions menu items' - 'administer productions menu items'
- 'administer users' - 'administer users'
- 'change own username' - 'change own username'
@@ -135,6 +135,7 @@ permissions:
- 'switch users' - 'switch users'
- 'synchronize configuration' - 'synchronize configuration'
- 'translate any entity' - 'translate any entity'
- 'translate enregistrement node'
- 'translate fil node' - 'translate fil node'
- 'translate interface' - 'translate interface'
- 'translate page node' - 'translate page node'