-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace
go_color
color picker with an options_select
dropdown in …
…`go_category` This change streamlines the use of colors in the Go project. Unfortunately, we cannot reuse fields between paragraph types and normal content types.
- Loading branch information
1 parent
f597b64
commit 1a27de8
Showing
12 changed files
with
85 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
config/sync/field.field.node.go_category.field_category_menu_color.yml
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
config/sync/field.field.node.go_category.field_go_color.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
uuid: ce1a2dde-cd99-42ac-8a67-fd1ce54dbe36 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.field_go_color | ||
- node.type.go_category | ||
module: | ||
- options | ||
id: node.go_category.field_go_color | ||
field_name: field_go_color | ||
entity_type: node | ||
bundle: go_category | ||
label: 'Category menu color' | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: list_string |
20 changes: 0 additions & 20 deletions
20
config/sync/field.storage.node.field_category_menu_color.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
uuid: c8209755-e72b-4ff6-9160-4ee174a2bc66 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- node | ||
- options | ||
id: node.field_go_color | ||
field_name: field_go_color | ||
entity_type: node | ||
type: list_string | ||
settings: | ||
allowed_values: | ||
- | ||
value: content_color_1 | ||
label: 'Content Color 1' | ||
- | ||
value: content_color_2 | ||
label: 'Content Color 2' | ||
- | ||
value: content_color_3 | ||
label: 'Content Color 3' | ||
- | ||
value: content_color_4 | ||
label: 'Content Color 4' | ||
- | ||
value: content_color_5 | ||
label: 'Content Color 5' | ||
allowed_values_function: '' | ||
module: options | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters