In D7 we had access to functions and variables to get the path of the current theme, a module, profiles to help link assets within relative to them.
$current_theme => \Drupal::service('theme.manager')->getActiveTheme()->getName();
Add these functions into the twig environment functions.
- Decide which variables/functions need to be in there for BC and features.
- Add them in
- Write tests to make sure they are available and doing as they should.
User interface changes
N/A... adding functions that existed previously for BC.