Problem/Motivation

FeaturesManagerInterface::assignConfigPackage() includes a $force argument:

   * @param bool $force
   *   If TRUE, assign config even if already assigned to a package.

However, methods that invoke ::assignConfigPackage() lack the $force argument. This will be needed for #2595245: "excluded" configuration should not be automatically packaged, where we need to force assignment from the feature edit form.

Proposed resolution

Add $force argument to FeaturesAssignerInterface::assignConfigPackages() and related code as needed to pass to FeaturesManagerInterface::assignConfigPackage(.

Remaining tasks

API changes

Comments

nedjo created an issue. See original summary.

  • nedjo committed 1547364 on 8.x-3.x
    Issue #2595543 by nedjo: Add "force" argument to...
nedjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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