created thematique admin view, added action create thematique, thematique form display

This commit is contained in:
Bachir Soussi Chiadmi 2020-12-23 22:57:51 +01:00
parent 609d4f5fde
commit a4bbdecdd2
15 changed files with 2040 additions and 16 deletions

View File

@ -4,12 +4,118 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.thematique.body - field.field.node.thematique.body
- field.field.node.thematique.field_linked_articles
- field.field.node.thematique.field_linked_materials - field.field.node.thematique.field_linked_materials
- field.field.node.thematique.field_memo
- field.field.node.thematique.field_short_description
- field.field.node.thematique.field_tags - field.field.node.thematique.field_tags
- field.field.node.thematique.field_visuel
- image.style.thumbnail
- node.type.thematique - node.type.thematique
module: module:
- field_group
- image
- path - path
- text - text
third_party_settings:
field_group:
group_htabs:
children:
- group_content
- group_media
- group_internal
- group_taxonomy
- group_links
parent_name: ''
weight: 1
format_type: tabs
region: content
format_settings:
id: ''
classes: ''
direction: horizontal
label: htabs
group_content:
children:
- field_short_description
- body
parent_name: group_htabs
weight: 19
format_type: tab
region: content
format_settings:
id: ''
classes: ''
description: ''
formatter: open
required_fields: true
label: Content
group_media:
children:
- field_visuel
parent_name: group_htabs
weight: 20
format_type: tab
region: content
format_settings:
id: ''
classes: ''
description: ''
formatter: closed
required_fields: true
label: Media
group_taxonomy:
children:
- field_tags
parent_name: group_htabs
weight: 21
format_type: tab
region: hidden
format_settings:
id: ''
classes: ''
description: ''
formatter: closed
required_fields: true
label: Taxonomy
group_links:
children:
- field_linked_materials
- field_linked_articles
parent_name: group_htabs
weight: 22
format_type: tab
region: hidden
format_settings:
id: ''
classes: ''
description: ''
formatter: closed
required_fields: true
label: Links
group_internal:
children:
- uid
- status
- langcode
- created
- flag
- promote
- sticky
- path
- url_redirects
- field_memo
parent_name: group_htabs
weight: 21
format_type: tab
region: hidden
format_settings:
id: ''
classes: ''
description: ''
formatter: closed
required_fields: true
label: Internal
id: node.thematique.default id: node.thematique.default
targetEntityType: node targetEntityType: node
bundle: thematique bundle: thematique
@ -17,7 +123,7 @@ mode: default
content: content:
body: body:
type: text_textarea_with_summary type: text_textarea_with_summary
weight: 121 weight: 17
settings: settings:
rows: 9 rows: 9
summary_rows: 3 summary_rows: 3
@ -27,12 +133,22 @@ content:
region: content region: content
created: created:
type: datetime_timestamp type: datetime_timestamp
weight: 10 weight: 23
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_linked_articles:
weight: 29
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_linked_materials: field_linked_materials:
weight: 122 weight: 28
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
size: 60 size: 60
@ -41,8 +157,24 @@ content:
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete type: entity_reference_autocomplete
region: content region: content
field_memo:
weight: 15
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_short_description:
weight: 16
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_tags: field_tags:
weight: 123 weight: 30
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
size: 60 size: 60
@ -51,16 +183,29 @@ content:
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete type: entity_reference_autocomplete
region: content region: content
field_visuel:
weight: 13
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
type: image_image
region: content
flag:
weight: 24
region: content
settings: { }
third_party_settings: { }
langcode: langcode:
type: language_select type: language_select
weight: 2 weight: 22
region: content region: content
settings: settings:
include_locked: true include_locked: true
third_party_settings: { } third_party_settings: { }
path: path:
type: path type: path
weight: 30 weight: 27
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
@ -68,26 +213,26 @@ content:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 15 weight: 25
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: 120 weight: 21
region: content region: content
third_party_settings: { } third_party_settings: { }
sticky: sticky:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 16 weight: 26
region: content region: content
third_party_settings: { } third_party_settings: { }
title: title:
type: string_textfield type: string_textfield
weight: -5 weight: 0
region: content region: content
settings: settings:
size: 60 size: 60
@ -95,7 +240,7 @@ content:
third_party_settings: { } third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 5 weight: 20
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
size: 60 size: 60
@ -104,8 +249,8 @@ content:
region: content region: content
third_party_settings: { } third_party_settings: { }
url_redirects: url_redirects:
weight: 50 weight: 28
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
region: content
hidden: { } hidden: { }

View File

@ -4,10 +4,15 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.thematique.body - field.field.node.thematique.body
- field.field.node.thematique.field_linked_articles
- field.field.node.thematique.field_linked_materials - field.field.node.thematique.field_linked_materials
- field.field.node.thematique.field_memo
- field.field.node.thematique.field_short_description
- field.field.node.thematique.field_tags - field.field.node.thematique.field_tags
- field.field.node.thematique.field_visuel
- node.type.thematique - node.type.thematique
module: module:
- image
- text - text
- user - user
id: node.thematique.default id: node.thematique.default
@ -22,6 +27,14 @@ content:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
region: content region: content
field_linked_articles:
weight: 105
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
field_linked_materials: field_linked_materials:
weight: 102 weight: 102
label: above label: above
@ -30,6 +43,21 @@ content:
third_party_settings: { } third_party_settings: { }
type: entity_reference_label type: entity_reference_label
region: content region: content
field_memo:
weight: 106
label: above
settings: { }
third_party_settings: { }
type: basic_string
region: content
field_short_description:
weight: 107
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_tags: field_tags:
weight: 103 weight: 103
label: above label: above
@ -38,10 +66,53 @@ content:
third_party_settings: { } third_party_settings: { }
type: entity_reference_label type: entity_reference_label
region: content region: content
field_visuel:
weight: 104
label: above
settings:
image_style: ''
image_link: ''
third_party_settings: { }
type: image
region: content
flag_admintest:
weight: 10
settings: { }
third_party_settings: { }
region: content
flag_dossier:
weight: 10
settings: { }
third_party_settings: { }
region: content
flag_flag_list_template_1:
weight: 10
settings: { }
third_party_settings: { }
region: content
flag_projet_1:
weight: 10
settings: { }
third_party_settings: { }
region: content
flag_projet_2:
weight: 10
settings: { }
third_party_settings: { }
region: content
links: links:
weight: 100 weight: 100
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
region: content region: content
title:
label: hidden
type: string
weight: -5
region: content
settings:
link_to_entity: false
third_party_settings: { }
hidden: hidden:
langcode: true langcode: true
search_api_excerpt: true

View File

@ -5,6 +5,12 @@ dependencies:
config: config:
- core.entity_view_mode.node.teaser - core.entity_view_mode.node.teaser
- field.field.node.thematique.body - field.field.node.thematique.body
- field.field.node.thematique.field_linked_articles
- field.field.node.thematique.field_linked_materials
- field.field.node.thematique.field_memo
- field.field.node.thematique.field_short_description
- field.field.node.thematique.field_tags
- field.field.node.thematique.field_visuel
- node.type.thematique - node.type.thematique
module: module:
- text - text
@ -22,12 +28,50 @@ content:
trim_length: 600 trim_length: 600
third_party_settings: { } third_party_settings: { }
region: content region: content
flag_admintest:
weight: 10
settings: { }
third_party_settings: { }
region: content
flag_dossier:
weight: 10
settings: { }
third_party_settings: { }
region: content
flag_flag_list_template_1:
weight: 10
settings: { }
third_party_settings: { }
region: content
flag_projet_1:
weight: 10
settings: { }
third_party_settings: { }
region: content
flag_projet_2:
weight: 10
settings: { }
third_party_settings: { }
region: content
links: links:
weight: 100 weight: 100
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
region: content region: content
title:
label: hidden
type: string
weight: -5
region: content
settings:
link_to_entity: false
third_party_settings: { }
hidden: hidden:
field_linked_articles: true
field_linked_materials: true field_linked_materials: true
field_memo: true
field_short_description: true
field_tags: true field_tags: true
field_visuel: true
langcode: true langcode: true
search_api_excerpt: true

View File

@ -0,0 +1,28 @@
uuid: a49418f6-8715-4c59-a93d-90bc3cc00462
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_linked_articles
- node.type.article
- node.type.thematique
id: node.thematique.field_linked_articles
field_name: field_linked_articles
entity_type: node
bundle: thematique
label: 'Linked Articles'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings:
target_bundles:
article: article
sort:
field: _none
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -0,0 +1,19 @@
uuid: 3f8497b2-3629-4f05-9388-cc02b797668e
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_memo
- node.type.thematique
id: node.thematique.field_memo
field_name: field_memo
entity_type: node
bundle: thematique
label: Memo
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long

View File

@ -0,0 +1,19 @@
uuid: 53ee10ef-653e-4830-baca-ca298a282d94
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_short_description
- node.type.thematique
id: node.thematique.field_short_description
field_name: field_short_description
entity_type: node
bundle: thematique
label: 'Short description'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -0,0 +1,45 @@
uuid: 7819fe89-4f3b-4229-848d-62c575d39a69
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_visuel
- node.type.thematique
module:
- content_translation
- image
third_party_settings:
content_translation:
translation_sync:
alt: alt
title: title
file: '0'
id: node.thematique.field_visuel
field_name: field_visuel
entity_type: node
bundle: thematique
label: Visuel
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
handler: 'default:file'
handler_settings: { }
field_type: image

View File

@ -3,7 +3,11 @@ langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- field_permissions
- node - node
third_party_settings:
field_permissions:
permission_type: public
id: node.field_linked_articles id: node.field_linked_articles
field_name: field_linked_articles field_name: field_linked_articles
entity_type: node entity_type: node

View File

@ -3,7 +3,11 @@ langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- field_permissions
- node - node
third_party_settings:
field_permissions:
permission_type: public
id: node.field_memo id: node.field_memo
field_name: field_memo field_name: field_memo
entity_type: node entity_type: node

View File

@ -3,7 +3,11 @@ langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- field_permissions
- node - node
third_party_settings:
field_permissions:
permission_type: public
id: node.field_short_description id: node.field_short_description
field_name: field_short_description field_name: field_short_description
entity_type: node entity_type: node

View File

@ -3,9 +3,13 @@ langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- field_permissions
- file - file
- image - image
- node - node
third_party_settings:
field_permissions:
permission_type: public
id: node.field_visuel id: node.field_visuel
field_name: field_visuel field_name: field_visuel
entity_type: node entity_type: node

View File

@ -40,7 +40,6 @@ permissions:
- 'create evenement content' - 'create evenement content'
- 'create field_company' - 'create field_company'
- 'create field_member_type' - 'create field_member_type'
- 'create field_memo'
- 'create field_showroom' - 'create field_showroom'
- 'create generique workflow_transition' - 'create generique workflow_transition'
- 'create materiau content' - 'create materiau content'
@ -83,7 +82,6 @@ permissions:
- 'edit any thematique content' - 'edit any thematique content'
- 'edit field_company' - 'edit field_company'
- 'edit field_member_type' - 'edit field_member_type'
- 'edit field_memo'
- 'edit field_showroom' - 'edit field_showroom'
- 'edit own enregistrement content' - 'edit own enregistrement content'
- 'edit own flag lists' - 'edit own flag lists'
@ -162,7 +160,6 @@ permissions:
- 'view evenement revisions' - 'view evenement revisions'
- 'view field_company' - 'view field_company'
- 'view field_member_type' - 'view field_member_type'
- 'view field_memo'
- 'view field_showroom' - 'view field_showroom'
- 'view frontpage revisions' - 'view frontpage revisions'
- 'view materiau revisions' - 'view materiau revisions'

File diff suppressed because it is too large Load Diff

View File

@ -223,6 +223,72 @@ display:
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
plugin_id: field plugin_id: field
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: node
entity_field: nid
plugin_id: field
uuid: uuid:
id: uuid id: uuid
table: node table: node

View File

@ -14,6 +14,14 @@ editors_menus.article_add:
appears_on: appears_on:
- view.admin_nodes.page_2 - view.admin_nodes.page_2
editors_menus.thematique_add:
route_name: node.add
route_parameters:
node_type: 'thematique'
title: 'Add Thematique'
appears_on:
- view.admin_nodes.page_3
editors_menus.company_add: editors_menus.company_add:
route_name: entity.taxonomy_term.add_form route_name: entity.taxonomy_term.add_form
route_parameters: route_parameters: