entrie colors are now dynamiclly loaded from field_color in entree term
had to patch the color_field module https://www.drupal.org/project/color_field/issues/2854199#comment-12316266
This commit is contained in:
@@ -3,6 +3,7 @@ langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.taxonomy_term.field_color
|
||||
- field.storage.taxonomy_term.field_notice
|
||||
- field.storage.taxonomy_term.field_workflow
|
||||
- taxonomy.vocabulary.entrees
|
||||
@@ -10,6 +11,7 @@ dependencies:
|
||||
- user.role.collectionneur
|
||||
- user.role.root
|
||||
module:
|
||||
- color_field
|
||||
- options
|
||||
- taxonomy
|
||||
- text
|
||||
@@ -132,6 +134,72 @@ display:
|
||||
row:
|
||||
type: fields
|
||||
fields:
|
||||
field_color:
|
||||
id: field_color
|
||||
table: taxonomy_term__field_color
|
||||
field: field_color
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
label: Color
|
||||
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: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
click_sort_column: color
|
||||
type: color_field_formatter_swatch
|
||||
settings:
|
||||
shape: square
|
||||
width: '20'
|
||||
height: '20'
|
||||
opacity: '0'
|
||||
group_column: ''
|
||||
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
|
||||
plugin_id: field
|
||||
name:
|
||||
id: name
|
||||
table: taxonomy_term_field_data
|
||||
@@ -549,6 +617,7 @@ display:
|
||||
- url.query_args
|
||||
- user.roles
|
||||
tags:
|
||||
- 'config:field.storage.taxonomy_term.field_color'
|
||||
- 'config:field.storage.taxonomy_term.field_notice'
|
||||
- 'config:field.storage.taxonomy_term.field_workflow'
|
||||
page_1:
|
||||
@@ -577,5 +646,6 @@ display:
|
||||
- url.query_args
|
||||
- user.roles
|
||||
tags:
|
||||
- 'config:field.storage.taxonomy_term.field_color'
|
||||
- 'config:field.storage.taxonomy_term.field_notice'
|
||||
- 'config:field.storage.taxonomy_term.field_workflow'
|
||||
|
||||
Reference in New Issue
Block a user