Closed (fixed)
Project:
Features
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2015 at 22:39 UTC
Updated:
2 Nov 2015 at 17:44 UTC
Jump to comment: Most recent
FeaturesManager::getExistingPackages() is used to detect existing packages. It is used in two plugins: "existing" and "packages". Both relate to packages for the current bundle.
However, ::getExistingPackages() returns all features modules, regardless of bundle.
$bundle argument to FeaturesManagerInterface::isFeatureModule(), allowing restricting to a given bundle.FeaturesManager:getExistingPackages(), load the current bundle and pass it to ::isFeatureModule().New $bundle argument to FeaturesManagerInterface::isFeatureModule(), allowing restricting to a given bundle.
Comments
Comment #3
nedjoComment #4
nedjoSee summary for implemented solution.
Comment #5
nedjo