Problem

See problem definition in #3092272: [Meta] [PP-1] Moving away from features.

Solution

  • Remove the module.features.yml file
  • Move the default editable config from hook_install() into a module's config/install/*.yml file.
  • If hook_install alters configuration from other modules, consider whether we should include the config file in the profile's config/install folder to overwrite it instead
  • Remove any _module_set_defaults function

Steps to reproduce

  • Enable all changed modules
  • See that none of them install configuration provided by other modules
  • Change configuration for each module
  • Revert features

Expected result (after fix)

The changed configuration keeps its changes.

Actual result

The changed configuration is reverted to default values.

Comments

Kingdutch created an issue. See original summary.

kingdutch’s picture

Assigned: kingdutch » Unassigned
Status: Active » Needs review
ronaldtebrake’s picture

Status: Needs review » Fixed

  • ronaldtebrake authored 2586dd5 on 8.x-8.x
    Merge pull request #1639 from goalgorilla/feature/3100562-unfeature-...
  • Kingdutch committed a3a0b37 on 8.x-8.x
    Issue #3100562 by Kingdutch: Remove features from Social Profile...

Status: Fixed » Closed (fixed)

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