Skip to main content
8 events
when toggle format what by license comment
Feb 9, 2018 at 6:24 comment added Alex Skrypnyk @FelixEve This is because this is not fully correct answer. It does not work for you because you already have this configuration active. Module developers should account for that and use install and un-install hooks to alter existing configuration. Drupal 8 does not support partial configs in yaml files.
Feb 7, 2018 at 2:31 comment added Felix Eve This doesn't work for me, I get the error Configuration objects (user.role.anonymous) provided by my_module already exist in active configuration
Aug 19, 2016 at 18:15 vote accept cjgratacos
Aug 19, 2016 at 18:13 comment added cjgratacos found solution - just add in the yml dependencies: module: -<module_name> enforced: module: - <module_name>
Aug 19, 2016 at 17:52 comment added cjgratacos +1, it actually work. Now is there a way to actually remove the role once the module has been uninstall?
Aug 19, 2016 at 16:53 comment added Jimmy Ko Drupal 8 is difficult.... Anyway +1
Aug 19, 2016 at 15:50 history edited lexicant CC BY-SA 3.0
added 222 characters in body
Aug 19, 2016 at 15:45 history answered lexicant CC BY-SA 3.0