Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
Swapping in Entity Browser, which is bad
Browse files Browse the repository at this point in the history
…But less bad when dealing with this ECK Instance issue than IEF, apparently. Tentatively declaring #26 closed but we’ll see.
  • Loading branch information
eaton committed Mar 4, 2017
1 parent 7916864 commit fbecad6
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 18 deletions.
20 changes: 10 additions & 10 deletions config/sync/core.entity_form_display.node.npc.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- entity_browser.browser.morph_instance
- field.field.node.npc.field_based_on
- field.field.node.npc.field_description
- field.field.node.npc.field_equipped_armor
Expand All @@ -25,6 +26,7 @@ dependencies:
- image.style.thumbnail
- node.type.npc
module:
- entity_browser
- entity_reference_override
- entity_reference_quantity
- ep_skill_reference
Expand Down Expand Up @@ -231,22 +233,20 @@ content:
field_morph:
weight: 9
settings:
form_mode: default
override_labels: true
label_singular: Morph
label_plural: Morphs
collapsible: true
allow_new: true
match_operator: CONTAINS
collapsed: false
allow_existing: false
entity_browser: morph_instance
field_widget_display: label
field_widget_edit: true
field_widget_remove: true
selection_mode: selection_edit
open: false
field_widget_display_settings: { }
third_party_settings:
field_states_ui:
form:
type: ''
list: ''
add: Add
type: inline_entity_form_complex
type: entity_browser_entity_reference
field_motivations:
weight: 16
settings:
Expand Down
24 changes: 16 additions & 8 deletions config/sync/core.entity_form_display.node.pc.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- entity_browser.browser.muse_instance
- field.field.node.pc.field_based_on
- field.field.node.pc.field_description
- field.field.node.pc.field_equipped_armor
Expand All @@ -23,6 +24,7 @@ dependencies:
- image.style.thumbnail
- node.type.pc
module:
- entity_browser
- entity_reference_override
- ep_skill_reference
- ep_statblock
Expand Down Expand Up @@ -197,14 +199,20 @@ content:
field_muse:
weight: 12
settings:
form_mode: default
label_singular: ''
label_plural: ''
collapsible: true
override_labels: false
collapsed: false
third_party_settings: { }
type: inline_entity_form_simple
entity_browser: muse_instance
field_widget_display: label
field_widget_edit: true
field_widget_remove: true
selection_mode: selection_edit
open: false
field_widget_display_settings: { }
third_party_settings:
field_states_ui:
form:
type: ''
list: ''
add: Add
type: entity_browser_entity_reference
field_owned_blueprints:
weight: 18
settings:
Expand Down
2 changes: 2 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ module:
editor: 0
eldrich: 0
embed: 0
entity_browser: 0
entity_browser_entity_form: 0
entity_reference_override: 0
entity_reference_quantity: 0
ep_complex_values: 0
Expand Down
34 changes: 34 additions & 0 deletions config/sync/entity_browser.browser.morph_instance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: 871945b2-ecda-42b5-87c3-49b5f98ade6d
langcode: en
status: true
dependencies:
module:
- entity_browser_entity_form
name: morph_instance
label: 'Morph Instance'
display: modal
display_configuration:
width: '650'
height: '500'
link_text: 'Add New Morph'
auto_open: false
selection_display: multi_step_display
selection_display_configuration:
entity_type: node
display: label
display_settings: { }
select_text: 'Use selected'
selection_hidden: true
widget_selector: single
widget_selector_configuration: { }
widgets:
2224348c-a32c-44d3-97c8-8d4a628d8554:
settings:
entity_type: instance
bundle: morph
form_mode: default
submit_text: 'Save Morph'
uuid: 2224348c-a32c-44d3-97c8-8d4a628d8554
weight: 1
label: 'Add New Morph'
id: entity_form
34 changes: 34 additions & 0 deletions config/sync/entity_browser.browser.muse_instance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: 2c8ec99e-f6e3-48d0-97f4-5df027d5892e
langcode: en
status: true
dependencies:
module:
- entity_browser_entity_form
name: muse_instance
label: 'Muse Instance'
display: modal
display_configuration:
width: '650'
height: '500'
link_text: 'Add New Muse'
auto_open: false
selection_display: multi_step_display
selection_display_configuration:
entity_type: instance
display: label
display_settings: { }
select_text: 'Use selected'
selection_hidden: true
widget_selector: single
widget_selector_configuration: { }
widgets:
3088c591-fc9d-4370-b0ca-9c375e0b8225:
settings:
entity_type: instance
bundle: muse
form_mode: default
submit_text: 'Save Muse'
uuid: 3088c591-fc9d-4370-b0ca-9c375e0b8225
weight: 1
label: ''
id: entity_form

0 comments on commit fbecad6

Please sign in to comment.