Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
shortcut.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Mar 2015 at 17:31 UTC
Updated:
30 Mar 2015 at 20:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
root_brute commentedComment #2
dawehnerI'm curious, can't we just use $this->url('')?
Comment #3
tstoeckler@root_brute Nice work!
Re #2:
''doesn't work, because a route name is expected, but<current>works, which I think is better.So let's change it to
<current>.Also:
Let's remove the docs, too.
Comment #4
tstoeckler@root_brute Nice work!
Re #2:
''doesn't work, because a route name is expected, but<current>works, which I think is better.So let's change it to
<current>.Also:
Let's remove the docs, too.
Comment #5
root_brute commentedComment #6
root_brute commentedRemoved the unnecessary docs and changed the route name to
'<current>'.Comment #7
root_brute commentedComment #8
tstoecklerAwesome, thanks so much @root_brute. Looks great and works, too! :-)
Comment #9
alexpottThis issue is a normal task so we need to outline how it fits within the allowable Drupal 8 beta criteria. Can someone add Drupal 8 beta phase evaluation template to the issue summary.
I don't think form constructors should be considered an API considering we use the create method.
Comment #10
tstoecklerAdded a beta evaluation. In this particular case, we're only actually removing an argument from the constructor, so I can't actually think of anything that could possibly break, even if you don't use
create(), i.e. if you subclassSwitchShortcutSet(for whichever reason) and callparent::__construct().Comment #11
webchickThanks for the beta evaluation. Agreed that there's no impact here, and this also seems like it reduces fragility by removing an unneeded dependency.
Committed and pushed to 8.0.x. Thanks!
Welcome to the core team, root_brute! :)