Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
This is my first pass at updating B&M to the new routing system. This only includes the menu items in hook_menu(), and drops the callbacks into incomplete form controllers. There will need to be a decent amount of refactoring to complete this, but it's a start.
Note, you'll need to apply these patches first-
#2082519: .info.yml missing type and package
#1897846-7: Drupal 8 Compatibility Patch
Comment | File | Size | Author |
---|---|---|---|
#3 | backup_migrate.code_.2092179-3.patch | 56.41 KB | Albert Volkman |
#3 | interdiff.txt | 23.99 KB | Albert Volkman |
#2 | backup_migrate.code_.2092179-2.patch | 33.45 KB | Albert Volkman |
#2 | interdiff.txt | 4.81 KB | Albert Volkman |
#1 | 2092179-backup_migrate_menu_routing-1.patch | 34.4 KB | Albert Volkman |
Comments
Comment #1
Albert Volkman CreditAttribution: Albert Volkman commentedMore forms converted, replaced BackupMigrateExportAdvancedForm with BackupMigrateController::advancedManualBackup.
Comment #2
Albert Volkman CreditAttribution: Albert Volkman commentedAdditional cleanup.
Comment #3
Albert Volkman CreditAttribution: Albert Volkman commentedAdditional conversions
Comment #3.0
Albert Volkman CreditAttribution: Albert Volkman commentedGrammar error
Comment #4
mimes CreditAttribution: mimes commentedI'm getting Undefined class constant 'DYNAMIC' in .../modules/backup_migrate/lib/Drupal/backup_migrate/BackupMigrateSubscriber.php on line 36 when I try to run the patches posted, perhaps
RoutingEvents::DYNAMIC
was removed? There's onlyRoutingEvents::ALTER
in Drupal 8 now, although on the 8th of DecemberRoutingEvents::DYNAMIC
was still valid.Comment #5
Albert Volkman CreditAttribution: Albert Volkman commentedI believe there were some changes. However, I haven't had time to progress forward on this ticket in a while. Feel free to continue work on it if you like =)
Comment #6
Albert Volkman CreditAttribution: Albert Volkman commentedComment #7
dgorton CreditAttribution: dgorton commentedThank you for the work and patches! The 8.x-2.x branch is a ways out of date and the supported D8 branch of Backup and Migrate is going to be based on the 7.x-3.x branch. If you are willing to help porting that branch we'd be very happy for your help!
Comment #8
andypostProper status, duplicate of #2409423: Port Backup_Migrate to Drupal 8
Comment #9
Albert Volkman CreditAttribution: Albert Volkman commentedThat's unfortunate. Hopefully at least some of this work can be utilized in the new branch conversion.