Skip to content

Add Issue tag support for the Drupal.org issues. #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions config/sync/core.entity_form_display.node.issue.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- field.field.node.issue.body
- field.field.node.issue.field_issue_link
- field.field.node.issue.field_issue_tags
- node.type.issue
module:
- link
Expand Down Expand Up @@ -39,6 +40,16 @@ content:
third_party_settings: { }
type: link_default
region: content
field_issue_tags:
weight: 121
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
path:
type: path
weight: 30
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- core.entity_form_mode.node.inline_issue_create
- field.field.node.issue.body
- field.field.node.issue.field_issue_link
- field.field.node.issue.field_issue_tags
- node.type.issue
module:
- link
Expand Down Expand Up @@ -50,6 +51,7 @@ content:
region: content
hidden:
created: true
field_issue_tags: true
path: true
promote: true
sticky: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- field.field.node.code_contribution.field_contribution_date
- field.field.node.code_contribution.field_contribution_description
- field.field.node.code_contribution.field_contribution_technology
- field.field.node.code_contribution.field_contribution_type
- node.type.code_contribution
module:
- user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ content:
label: visually_hidden
settings:
output_format: json
output_escape: '1'
output_escape: true
third_party_settings: { }
type: geofield_default
region: content
Expand Down
9 changes: 9 additions & 0 deletions config/sync/core.entity_view_display.node.issue.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- field.field.node.issue.body
- field.field.node.issue.field_issue_link
- field.field.node.issue.field_issue_tags
- node.type.issue
module:
- link
Expand Down Expand Up @@ -34,6 +35,14 @@ content:
third_party_settings: { }
type: link
region: content
field_issue_tags:
weight: 103
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
links:
weight: 100
region: content
Expand Down
2 changes: 2 additions & 0 deletions config/sync/core.entity_view_display.node.issue.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- core.entity_view_mode.node.teaser
- field.field.node.issue.body
- field.field.node.issue.field_issue_link
- field.field.node.issue.field_issue_tags
- node.type.issue
module:
- text
Expand All @@ -28,3 +29,4 @@ content:
region: content
hidden:
field_issue_link: true
field_issue_tags: true
2 changes: 1 addition & 1 deletion config/sync/field.field.node.event.field_event_address.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ third_party_settings:
weight: 0
geocode_field: body
reverse_geocode_field: field_event_location
skip_not_empty_value: 0
skip_not_empty_value: false
disabled: false
hidden: false
plugins:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ third_party_settings:
geocoder_field:
method: geocode
weight: 0
skip_not_empty_value: 0
skip_not_empty_value: false
disabled: false
hidden: true
providers:
Expand Down
29 changes: 29 additions & 0 deletions config/sync/field.field.node.issue.field_issue_tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: 8e252708-000e-46ce-9c30-996c164655af
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_issue_tags
- node.type.issue
- taxonomy.vocabulary.issue_tags
id: node.issue.field_issue_tags
field_name: field_issue_tags
entity_type: node
bundle: issue
label: 'Issue Tags'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
issue_tags: issue_tags
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
24 changes: 24 additions & 0 deletions config/sync/field.storage.node.field_issue_tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: babf5932-6a8a-4851-828a-346cc4e42bc5
langcode: en
status: true
dependencies:
module:
- field_permissions
- node
- taxonomy
third_party_settings:
field_permissions:
permission_type: public
id: node.field_issue_tags
field_name: field_issue_tags
entity_type: node
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
8 changes: 8 additions & 0 deletions config/sync/taxonomy.vocabulary.issue_tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
uuid: 12f38c67-6e20-42fa-8c25-9d8067ed4a63
langcode: en
status: true
dependencies: { }
name: 'Issue Tags'
vid: issue_tags
description: 'Drupa.org issue tags'
weight: 0
Loading