Problem/Motivation
Assuming we are download "Plus Suite" modules manually in order to enable them and get all features works. (incl. dropzonejs lib)
Unable to install Edit Plus CTA Block due to unmet dependencies: core.entity_form_display.block_content.call_to_action.default (media_library), field.field.block_content.call_to_action.field_cta_hero_image (media.type.image)
Unable to install Edit Plus CTA Block due to unmet dependencies: core.entity_view_display.block_content.call_to_action.card_left (field.field.block_content.call_to_action.field_cta_hero_image)
Unable to install Edit Plus CTA Block due to unmet dependencies: core.entity_view_display.block_content.call_to_action.card_right (field.field.block_content.call_to_action.field_cta_hero_image)
Unable to install Edit Plus CTA Block due to unmet dependencies: core.entity_view_display.block_content.call_to_action.default (field.field.block_content.call_to_action.field_cta_hero_image)
Unable to install Edit Plus Non LB Node due to unmet dependencies: field.field.node.node.field_node_related_content (node.type.landing_page)
...
Steps to reproduce
Fresh Drupal 11.3, Standard profile
Enable Edit Plus CTA Block
Proposed resolution
Edit Plus CTA Block (edit_plus_cta_block)
- config/install contains configuration with dependencies of other modules, thus it should reside in config/optional. The same is for "Edit Plus Non LB Node", "Edit Plus teaser Block"
- core.entity_form_display.block_content.call_to_action.default.yml contains module dependency of media_library, add media_library in modules info dependencies.
Edit Plus Non LB Node (edit_plus_non_lb_mode)
- change config/install to config/optional
- remove dependencies to deprecated modules (lb_plus_edit_plus, edit_plus_lb) in edit_plus_non_lb_node.info.yml, add dependencies media_library
Edit Plus teaser Block (edit_plus_teaser_block)
- change config/install to config/optional
- copy configuration from recipe install directory in edit_plus_teaser_block/config/optional (block_content type image and node type image might have own sub-modules each, but for now here is good enough)
- add media and media_library in module info dependencies
Edit+
As on enabling Edit+ fails with log-error
Error: Class "Drupal\lb_plus\SectionStorage\NestedAwareSectionStorage" not found in Drupal\tempstore_plus\Strategy\LayoutTempstoreStrategy->wrapStorage() (line 377
I added lb_plus as dependency to edit_plus because tempstore_plus is already a dependency in edit_plus
Expected result
Enable modules
Edit+
Edit Plus CTA Block
Edit Plus Header Block
Edit Plus Non LB Node
Edit Plus teaser Block
Issue fork edit_plus-3586635
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
svetlio commentedadd media_library in module dependencies
Comment #3
svetlio commentedComment #4
svetlio commentedComment #6
svetlio commentedComment #7
svetlio commented