Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If it worked for #2028109: Convert hook_stream_wrappers() to tagged services. it can work here too!
Comment | File | Size | Author |
---|---|---|---|
#21 | d8-convert-hook-filetransfer-info-plugin-2038271-21.patch | 76.31 KB | msmithcti |
#18 | d8-convert-hook-filetransfer-info-plugin-2038271-18.patch | 89.64 KB | msmithcti |
#15 | interdiff-2038271-14-15.txt | 2.44 KB | Les Lim |
#15 | core-2038271-15-filetransfer-to-plugins.patch | 32.21 KB | Les Lim |
#14 | interdiff-2038271-10-14.txt | 894 bytes | Les Lim |
Comments
Comment #1
tim.plunkettThe whole FileTransfer subsystem needs a good deal of refactoring. I'm just doing the discovery parts for now.
Comment #2
damiankloip CreditAttribution: damiankloip commenteda
Registers?
Out of scope here, but this is pretty similar to drupal_sort_weight, so I think we could start reusing that. I would certainly not add a procedural function in here though, so it's good for now.
Should we add the weight in here anyway?
Maybe we should use this opportunity to rename to 'Ssh', as I think that's the correct camel casing?
I guess this doesn't need to be user specific, wonder if this could be stored elsewhere? Probably not in scope of this conversion though.
If we are changing this method a bit anyway, should we use create() instead? to bring it inline with all of our other 'things'.
Comment #3
damiankloip CreditAttribution: damiankloip commented#2028499: drupal_sort_weight should be converted to a class is the issue I was thinking of for drupal_sort_weight
Comment #4
tim.plunkettAs part of #2044203: [meta] Convert info hooks to plugins
Comment #5
tim.plunkettComment #6
dlu CreditAttribution: dlu commentedMoved to filesystem component per #2050763-16: Refine "base system" component (notes on refactoring of "base system" category here: https://docs.google.com/a/acquia.com/spreadsheet/ccc?key=0AusehVccVSq2dF...). Might also involve modules.
Comment #7
tim.plunkettThis actually has nothing to do with the file system as we define it (file.inc), it's actually used by authorize.php and update.php and is in common.inc, so I think it does belong here.
Comment #8
Les LimRerolled #1 and incorporated the review from #2. Notes:
Comment #10
Les LimChanges since #8:
Comment #12
Les Lim10: core-2038271-9-filetransfer-to-plugins.patch queued for re-testing.
Comment #14
Les LimMissed a factory() method that should be create() now.
Comment #15
Les LimShoot, missed another one. Should've grepped first.
Comment #16
sun15: core-2038271-15-filetransfer-to-plugins.patch queued for re-testing.
Comment #18
msmithcti CreditAttribution: msmithcti commentedRerolled the patch from #15.
Comment #19
msmithcti CreditAttribution: msmithcti commentedComment #21
msmithcti CreditAttribution: msmithcti commentedRemoves the addition of authorize.php which had been mistakenly added in the reroll. Fixed the installer issue.
Comment #23
tim.plunkettWe could probably do this in a non-BC-breaking way in 8.1.x