- Issue created by @Wongjn
\Drupal\ex_icons\Discovery\SvgSymbolDiscovery
has some direct calls to \Drupal
. Ideally, we should look at removing this Drupal-specific code. This would then follow the convention of \Drupal\Component\Discovery\YamlDiscovery
and \Drupal\Component\Discovery\YamlDirectoryDiscovery
that both do not have any Drupal-specific code.
Look at the code.
Remove or modify transformFileUrl()
from \Drupal\ex_icons\Discovery\SvgSymbolDiscovery
. Rework what this method does to somewhere else maybe?
TBC
None
TBC
TBC
Active
1.0
Code