Closed (fixed)
Project:
Features
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2016 at 02:31 UTC
Updated:
5 Oct 2016 at 19:44 UTC
Jump to comment: Most recent
Comments
Comment #2
mpotter commentedNo, you wouldn't do either.
A "conflict" in Features is just a notification that the same *.yml is stored in two different features. But Drupal core doesn't care about this. Unlike in Drupal 7, configuration is not "live" in code...the active config is in the database. So all that matters is which config was last imported.
Config is imported when a module is installed, or when using config-import or features-import drush commands. As long as your module is loaded *after* lightning_media, then your config will take priority. You can ensure this happens by adding lightning_media as a dependency of your exported feature package.
We don't yet have any "Feature Override" mechanism in Drupal 8 (although see the config_override module for starting ideas). The "clean" way to override config in your own module is to write an update hook the loads the previous config, modifies it, then saves it.
If you want to "ignore" certain config in Features you can configure the Exclude assignment plugin in your bundle. But then Features won't manage that type of config at all and it won't show up in the UI to be exported. You'll just add the appropriate *.yml file to your module config/install folder manually.
Comment #3
mpotter commentedFYI you only assign yourself to an issue if you are working on a specific patch for something.
Closing this as answered.