Issue #3164982 by tbcan, Kingdutch: Optional configuration from dependence modules is installed before installing module when installing profile
Problem/Motivation
- Optional configuration of module does not install during installing profile.
- So if default configuration of any module that dependences on optional configuration of module, so we could not install profile.
- System throws
Drupal\Core\Config\UnmetDependenciesException
Proposed resolution
- Install optional config after every enabled module rather than all at once at the end
Closes #3164982