- Issue created by @kim.pepper
- First commit to issue fork.
- ๐ฎ๐นItaly mondrake ๐ฎ๐น
I think we should add a test to check if
DummyMimeTypeMapLoadedSubscriberhas an effect on the mapping. The legacy hook was already not processed by Sophron, but now that we have methods we should be able to process the event. This event will trigger 'core' changes, while the Sophron'sinitializeMapwill be specific to Sophron.In essence, the sequence should be:
a) the Sophron map is initialized in theDrupal\sophron\MimeMapManagerInterfaceservice,initializeMapevent is triggered and will process map changes according tofileeye/mimemapprimitives;
b) core triggers theMimeTypeMapLoadedEventevent inMimeTypeMapFactoryand will process map changes according toMimeTypeMapprimitives (that are proxies to thefileeye/mimemapones via Sophron'sMimeMapManager.A bit complicated but this would allow keeping Sophron as a separate MIME type mapping service not used for guessing purposes.
Automatically closed - issue fixed for 2 weeks with no activity.