Updated: Comment #57
Stream wrappers are yet another info hook/callback pairing, and those are moving to annotated plugins.
In addition, it helps clean up and modernize file.inc.
Rewrite stream wrappers to be plugins (they are already PSR-0 classes)
Leave the procedural wrappers intact for now.
- Decide on discovery mechanism (Annotations+Cache or Hook). Just annotations seem to introduce performance regression, while usage of cache brings some new problems that would need more work to resolve. See #48 for more info on that.
User interface changes
If we decide to use annotated discovery:
- hook_stream_wrappers() is gone, and \Drupal\Core\StreamWrapper\StreamWrapperInterface classes must be annotated and live in a StreamWrapper directory