Problem/Motivation

Import config needs to implement calculateDependencies() so that it depends on modules that provide any plugins it's using.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon 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

joachim created an issue. See original summary.

joachim’s picture

Status: Active » Needs review

Simplest and cleanest way to do this is to have the config entity implement EntityWithPluginCollectionInterface, and then ConfigEntityBase does the dependencies for us automatically.

grimreaper’s picture

Hi,

I never used EntityWithPluginCollectionInterface before, so if it works for you, ok.

  • joachim committed 2ab1d303 on 8.x-3.x
    Issue #3533238: Fixed import config should calculate config dependencies...

  • joachim committed cf9c092a on 4.0.x
    Issue #3533238: Fixed import config should calculate config dependencies...
joachim’s picture

Status: Needs review » Fixed

Committed to both branches.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.