Problem/Motivation
It looks like we have two keys in the features bundle entity type that are no longer used:
- 'settings': perhaps once stored what's now in
features.settingssimple configuration? - 'weights': now stored with the individual assignment plugins
Proposed resolution
Remove.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2653124-6.patch | 2.12 KB | nedjo |
Comments
Comment #2
nedjoComment #3
naveenvalechaI believe We also have
weightsmetadata left in \Drupal\features\Entity\FeaturesBundle and $weights propertyComment #5
nedjo@naveenvalecha: thanks for noting that. I removed the
$weightsand$settingsproperties from\Drupal\features\Entity\FeaturesBundle.Comment #6
nedjoWe have a failing test caused by the commit in this issue.
Looks like there's more obsolete code that I missed. Patch attached.
Comment #8
nedjoCommitted this to get tests working again.
Comment #10
carsonblack commentedJust a note on this: In 8.x-3.0-alpha6 this patch applies cleanly and it also fixes an issue where dependencies are not being correctly identified and written to the .info.yml file.