added 'structure' taxonomy to groups and users
This commit is contained in:
parent
b9a20da330
commit
89cba88747
|
@ -4,8 +4,10 @@ status: true
|
|||
dependencies:
|
||||
config:
|
||||
- field.field.group.bourgeon.field_description
|
||||
- field.field.group.bourgeon.field_structure
|
||||
- group.type.bourgeon
|
||||
module:
|
||||
- autocomplete_deluxe
|
||||
- field_group
|
||||
- text
|
||||
third_party_settings:
|
||||
|
@ -33,7 +35,7 @@ mode: default
|
|||
content:
|
||||
field_description:
|
||||
type: text_textarea_with_summary
|
||||
weight: 1
|
||||
weight: 2
|
||||
region: content
|
||||
settings:
|
||||
rows: 9
|
||||
|
@ -41,6 +43,23 @@ content:
|
|||
placeholder: ''
|
||||
show_summary: false
|
||||
third_party_settings: { }
|
||||
field_structure:
|
||||
type: autocomplete_deluxe
|
||||
weight: 1
|
||||
region: content
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
autocomplete_route_name: autocomplete_deluxe.autocomplete
|
||||
size: 60
|
||||
selection_handler: default
|
||||
limit: 10
|
||||
min_length: 0
|
||||
delimiter: ''
|
||||
not_found_message_allow: true
|
||||
not_found_message: 'The term ''@term'' will be added'
|
||||
new_terms: true
|
||||
no_empty_message: 'No terms could be found. Please type in order to add a new term.'
|
||||
third_party_settings: { }
|
||||
label:
|
||||
type: string_textfield
|
||||
weight: 0
|
||||
|
|
|
@ -2,7 +2,10 @@ uuid: 2831e53a-5b05-4e79-bd7c-9f796f246b67
|
|||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.user.user.field_strucure
|
||||
module:
|
||||
- autocomplete_deluxe
|
||||
- user
|
||||
id: user.user.default
|
||||
targetEntityType: user
|
||||
|
@ -14,6 +17,23 @@ content:
|
|||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_strucure:
|
||||
type: autocomplete_deluxe
|
||||
weight: 2
|
||||
region: content
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
autocomplete_route_name: autocomplete_deluxe.autocomplete
|
||||
size: 60
|
||||
selection_handler: default
|
||||
limit: 10
|
||||
min_length: 0
|
||||
delimiter: ''
|
||||
not_found_message_allow: true
|
||||
not_found_message: 'The term ''@term'' will be added'
|
||||
new_terms: true
|
||||
no_empty_message: 'No terms could be found. Please type in order to add a new term.'
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
contact: true
|
||||
langcode: true
|
||||
|
|
|
@ -4,6 +4,7 @@ status: true
|
|||
dependencies:
|
||||
config:
|
||||
- core.entity_form_mode.user.group
|
||||
- field.field.user.user.field_strucure
|
||||
module:
|
||||
- user
|
||||
id: user.user.group
|
||||
|
@ -16,6 +17,16 @@ content:
|
|||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_strucure:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 1
|
||||
region: content
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
match_limit: 10
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
contact: true
|
||||
langcode: true
|
||||
|
|
|
@ -4,6 +4,7 @@ status: true
|
|||
dependencies:
|
||||
config:
|
||||
- field.field.group.bourgeon.field_description
|
||||
- field.field.group.bourgeon.field_structure
|
||||
- group.type.bourgeon
|
||||
module:
|
||||
- text
|
||||
|
@ -19,6 +20,14 @@ content:
|
|||
third_party_settings: { }
|
||||
weight: -4
|
||||
region: content
|
||||
field_structure:
|
||||
type: entity_reference_label
|
||||
label: above
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: -3
|
||||
region: content
|
||||
label:
|
||||
type: string
|
||||
label: hidden
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
uuid: 0a917211-651f-47bf-b124-0097e1d028dd
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.user.user.field_strucure
|
||||
module:
|
||||
- user
|
||||
id: user.user.default
|
||||
targetEntityType: user
|
||||
bundle: user
|
||||
mode: default
|
||||
content:
|
||||
field_strucure:
|
||||
type: entity_reference_label
|
||||
label: above
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 6
|
||||
region: content
|
||||
member_for:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 5
|
||||
region: content
|
||||
hidden:
|
||||
langcode: true
|
||||
search_api_excerpt: true
|
|
@ -0,0 +1,29 @@
|
|||
uuid: 6394d302-ad58-4794-8132-22c4890433c4
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.group.field_structure
|
||||
- group.type.bourgeon
|
||||
- taxonomy.vocabulary.structure
|
||||
id: group.bourgeon.field_structure
|
||||
field_name: field_structure
|
||||
entity_type: group
|
||||
bundle: bourgeon
|
||||
label: Structure
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:taxonomy_term'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
structure: structure
|
||||
sort:
|
||||
field: name
|
||||
direction: asc
|
||||
auto_create: true
|
||||
auto_create_bundle: ''
|
||||
field_type: entity_reference
|
|
@ -0,0 +1,30 @@
|
|||
uuid: 7f577961-9b7e-487e-89de-44259f6deed4
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.user.field_strucure
|
||||
- taxonomy.vocabulary.structure
|
||||
module:
|
||||
- user
|
||||
id: user.user.field_strucure
|
||||
field_name: field_strucure
|
||||
entity_type: user
|
||||
bundle: user
|
||||
label: Strucure
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:taxonomy_term'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
structure: structure
|
||||
sort:
|
||||
field: name
|
||||
direction: asc
|
||||
auto_create: true
|
||||
auto_create_bundle: ''
|
||||
field_type: entity_reference
|
|
@ -0,0 +1,20 @@
|
|||
uuid: 2e13e690-a475-496d-968c-657c954f3479
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- group
|
||||
- taxonomy
|
||||
id: group.field_structure
|
||||
field_name: field_structure
|
||||
entity_type: group
|
||||
type: entity_reference
|
||||
settings:
|
||||
target_type: taxonomy_term
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: -1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
|
@ -0,0 +1,20 @@
|
|||
uuid: 6976ebed-5d08-43b2-bfd8-789ade275282
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- taxonomy
|
||||
- user
|
||||
id: user.field_strucure
|
||||
field_name: field_strucure
|
||||
entity_type: user
|
||||
type: entity_reference
|
||||
settings:
|
||||
target_type: taxonomy_term
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: -1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
|
@ -0,0 +1,11 @@
|
|||
uuid: 2f91190a-5dc3-47ba-b6ea-113c25d39eb0
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- taxonomy.vocabulary.structure
|
||||
id: taxonomy_term.structure
|
||||
target_entity_type_id: taxonomy_term
|
||||
target_bundle: structure
|
||||
default_langcode: site_default
|
||||
language_alterable: false
|
|
@ -0,0 +1,8 @@
|
|||
uuid: 7ee96263-996f-4845-9f71-b7798e1b0fa2
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
name: Structure
|
||||
vid: structure
|
||||
description: ''
|
||||
weight: 0
|
Loading…
Reference in New Issue