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.
As needed for both the local actions and tasks there is a need on the url generator to have a generate like method but without the need to specify every parameter manually.
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal-2046661-2.patch | 3.66 KB | dawehner |
#1 | drupal-2046661-1.patch | 3.58 KB | dawehner |
Comments
Comment #1
dawehnerComment #2
dawehnerNew version which a bit more safety.
Comment #3
pwolanin CreditAttribution: pwolanin commentedHopefully we will be moving away from using Drupal paths for much of anything, but some convenience methods like this would be good anyhow.
Comment #4
dawehnerCrosslinking: #2045267: LocalTaskBase and LocalTaskInterface has to work with routes containing parameters
Comment #5
pwolanin CreditAttribution: pwolanin commentedthe other issue we are switching to ':raw'
Comment #6
dawehnerCrosslinking to find the issue: #2031487: When replacing the upcasted values in the request attributes array, retain the original raw value too
Comment #7
Crell CreditAttribution: Crell at Palantir.net commentedI don't know if this is even relevant anymore. Tempted to close. dawehner or pwolanin, if this is still meaningful please update the issue summary with justification. Otherwise I'll just close it.
Comment #8
dawehnerNot really I think, local actions and tasks have their own custom implementation of something like that anyway so let's mark it as won't fix.