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.
Convert this page callback to a new-style Controller, using the instructions on http://drupal.org/node/1800686
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal-action-orphan-1939026-3.patch | 2.64 KB | Alan Evans |
Comments
Comment #1
Alan Evans CreditAttribution: Alan Evans commentedLooking into this.
Steps for testing/validation:
For validation of the conversion, we'd need to ensure that the orphaned actions are removed in the same way as pre-conversion.
Comment #2
Alan Evans CreditAttribution: Alan Evans commented... extending the validation steps: probably also worth checking what happens if you remove the "administer actions" permission.
Comment #3
Alan Evans CreditAttribution: Alan Evans commentedAttaching a first stab at this ... As my first attempt at symfonic composition, I'm expecting a few disagreeable dissonances ;)
@Crell: assuming this one goes ok, do you own creation of issues for individual conversion tasks, or is it fair game to spot things needing conversion and do them (creating issues along the way)?
Comment #4
Alan Evans CreditAttribution: Alan Evans commented(will add the newline at the end of the yml file, but waiting for other review comments first)
Comment #5
Alan Evans CreditAttribution: Alan Evans commented(Probably needs merging with #1939024: Convert action_admin_manage to a new-style Controller at some point.)
Comment #6
Crell CreditAttribution: Crell commentedI have no monopoly on creating conversion issues! :-) If you want to make more, please be sure to link to the change notice and tag it with WSCCI-conversion and FormInterface if it's for a form.
Needs @file docblock.
This should be replaced with return new RedirectResponse(url('admin/config/system/actions/manage'));
Given how small this issue is, I'd agree with merging. Let's close this issue and just fold it into the linked issue for simplicity.
Comment #7
mtiftI merged these changes with #1939024: Convert action_admin_manage to a new-style Controller.