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
|PASSED: [[SimpleTest]]: [MySQL] 63,414 pass(es).|
|PASSED: [[SimpleTest]]: [MySQL] 63,308 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 2028109-135.patch. Unable to apply patch. See the log in the details link for more information.|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 2028109-134.patch. Unable to apply patch. See the log in the details link for more information.|